Enum opentelemetry_zipkin::B3Encoding
source · pub enum B3Encoding {
UnSpecified = 0,
MultipleHeader = 1,
SingleHeader = 2,
SingleAndMultiHeader = 3,
}
Expand description
B3Encoding is a bitmask to represent B3 encoding type
Variants§
UnSpecified = 0
Unspecified is an unspecified B3 encoding
MultipleHeader = 1
MultipleHeader is a B3 encoding that uses multiple headers
to transmit tracing information prefixed with X-B3-
SingleHeader = 2
SingleHeader is B3 encoding that uses a single header named b3
to transmit tracing information
SingleAndMultiHeader = 3
SingleAndMultiHeader is B3 encoding that uses both single header and multiple headers to transmit tracing information. Note that if both single header and multiple headers are provided, the single header will take precedence when extracted
Implementations§
Trait Implementations§
source§impl Clone for B3Encoding
impl Clone for B3Encoding
source§fn clone(&self) -> B3Encoding
fn clone(&self) -> B3Encoding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for B3Encoding
impl Send for B3Encoding
impl Sync for B3Encoding
impl Unpin for B3Encoding
impl UnwindSafe for B3Encoding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more