-
Notifications
You must be signed in to change notification settings - Fork 4
XRayUDPEmitter_SegmentEncoding
pokryfka edited this page Aug 10, 2020
·
1 revision
A type representing the ability to encode a XRayRecorder.Segment
to a String with its JSON representation.
public struct SegmentEncoding
Creates new instance.
public init(encode: @escaping (XRayRecorder.Segment) throws -> ByteBuffer)
- encode: - encode: How to encode a segment to JSON string.
Default encoding of XRayRecorder.Segment
to JSON string.
let `default`: XRayUDPEmitter.SegmentEncoding
How to encode a segment to JSON string.
let encode: (XRayRecorder.Segment) throws -> ByteBuffer
Generated at 2020-08-17T04:20:53+0000 using swift-doc 1.0.0-beta.4.
Types
- AnyCodable
- AnyDecodable
- AnyEncodable
- XRayLogEmitter
- XRayNoOpEmitter
- XRayNoOpRecorder
- XRayRecorder
- XRayRecorder.Config
- XRayRecorder.Config.ContextMissingStrategy
- XRayRecorder.Segment
- XRayRecorder.Segment.ID
- XRayRecorder.Timestamp
- XRayRecorder.TraceContext
- XRayRecorder.TraceID
- XRayUDPEmitter
- XRayUDPEmitter.Config
- XRayUDPEmitter.EventLoopGroupProvider
- XRayUDPEmitter.SegmentEncoding