[−][src]Trait opentelemetry::experimental::api::context::propagation::binary_propagator::BinaryFormat
Used to serialize and deserialize SpanReference
s to and from a binary
representation.
Required methods
fn to_bytes(&self, context: &SpanReference) -> [u8; 29]
Serializes span context into a byte array and returns the array.
fn from_bytes(&self, bytes: Vec<u8>) -> SpanReference
Deserializes a span context from a byte array.
Implementors
impl BinaryFormat for BinaryPropagator
[src]
fn to_bytes(&self, context: &SpanReference) -> [u8; 29]
[src]
Serializes span context into a byte array and returns the array.
fn from_bytes(&self, bytes: Vec<u8>) -> SpanReference
[src]
Deserializes a span context from a byte array.