Struct tarpc::trace::SpanId [−][src]
A 64-bit identifier of a span within a trace. The identifier is unique within the span’s trace.
Implementations
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 Clone for SpanId
[src][+]
impl Copy for SpanId
[src]
impl Debug for SpanId
[src][+]
impl Default for SpanId
[src][+]
impl<'de> Deserialize<'de> for SpanId
[src][+]
impl Display for SpanId
[src][+]
impl Eq for SpanId
[src]
impl Hash for SpanId
[src][+]
impl PartialEq<SpanId> for SpanId
[src][+]
impl Serialize for SpanId
[src][+]
impl StructuralEq for SpanId
[src]
impl StructuralPartialEq for SpanId
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpanId
impl Send for SpanId
impl Sync for SpanId
impl Unpin for SpanId
impl UnwindSafe for SpanId
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,