Struct eaze_tracing_honeycomb::TraceId[][src]

pub struct TraceId(_);

A Honeycomb Trace ID.

Uniquely identifies a single distributed trace.

Does no parsing on string input values. Can be generated new from a UUID V4.

Display and FromStr are guaranteed to round-trip.

Implementations

impl TraceId[src]

pub fn meta_field_name() -> &'static str[src]

Metadata field name associated with this TraceId values.

pub fn new() -> Self[src]

Generate a new TraceId from a UUID V4.

pub fn generate() -> Self[src]

👎 Deprecated since 0.2.0:

Use TraceId::new() instead.

Generate a new TraceId from a UUID V4.

Prefer TraceId::new().

Trait Implementations

impl AsRef<[u8]> for TraceId[src]

impl Clone for TraceId[src]

impl Debug for TraceId[src]

impl Default for TraceId[src]

impl Display for TraceId[src]

impl Eq for TraceId[src]

impl From<&'_ str> for TraceId[src]

impl From<Cow<'_, &'_ str>> for TraceId[src]

impl From<String> for TraceId[src]

impl From<Uuid> for TraceId[src]

impl From<u128> for TraceId[src]

impl FromStr for TraceId[src]

type Err = Infallible

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Self, Self::Err>[src]

Is actually infalliable.

impl Hash for TraceId[src]

impl Into<String> for TraceId[src]

impl PartialEq<TraceId> for TraceId[src]

impl StructuralEq for TraceId[src]

impl StructuralPartialEq for TraceId[src]

impl TryInto<Uuid> for TraceId[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryInto<u128> for TraceId[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for TraceId

impl Send for TraceId

impl Sync for TraceId

impl Unpin for TraceId

impl UnwindSafe for TraceId

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>, 

impl<T> WithSubscriber for T[src]