[][src]Enum opentelemetry::sdk::propagation::B3Encoding

pub enum B3Encoding {
    UnSpecified,
    MultipleHeader,
    SingleHeader,
    SingleAndMultiHeader,
}

B3Encoding is a bitmask to represent B3 encoding type

Variants

UnSpecified

Unspecified is an unspecified B3 encoding

MultipleHeader

MultipleHeader is a B3 encoding that uses multiple headers to transmit tracing information prefixed with X-B3-

SingleHeader

SingleHeader is B3 encoding that uses a single header named b3 to transmit tracing information

SingleAndMultiHeader

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

impl B3Encoding[src]

pub fn support(&self, other: &Self) -> bool[src]

support determines if current encoding supports the e

Trait Implementations

impl Clone for B3Encoding[src]

impl Debug for B3Encoding[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,