[][src]Struct tarpc_trace::SpanId

pub struct SpanId(_);

A 64-bit identifier of a span within a trace. The identifier is unique within the span's trace.

Methods

impl SpanId[src]

pub fn random<R: Rng>(rng: &mut R) -> Self[src]

Returns a random span ID that can be assumed to be unique within a single trace.

Trait Implementations

impl Eq for SpanId[src]

impl Default for SpanId[src]

impl Clone for SpanId[src]

impl PartialEq<SpanId> for SpanId[src]

impl Copy for SpanId[src]

impl Hash for SpanId[src]

impl Debug for SpanId[src]

impl Display for SpanId[src]

Auto Trait Implementations

impl Sync for SpanId

impl Send for SpanId

impl Unpin for SpanId

impl UnwindSafe for SpanId

impl RefUnwindSafe for SpanId

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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