Struct tarpc::trace::TraceId [−][src]
A 128-bit UUID identifying a trace. All spans caused by the same originating span share the same trace ID.
Implementations
impl TraceId
[src][−]
pub fn random<R: Rng>(rng: &mut R) -> Self
[src][−]
Returns a random trace ID that can be assumed to be globally unique if rng
generates
actually-random numbers.
Trait Implementations
impl Clone for TraceId
[src][+]
impl Copy for TraceId
[src]
impl Debug for TraceId
[src][+]
impl Default for TraceId
[src][+]
impl<'de> Deserialize<'de> for TraceId
[src][+]
impl Display for TraceId
[src][+]
impl Eq for TraceId
[src]
impl Hash for TraceId
[src][+]
impl PartialEq<TraceId> for TraceId
[src][+]
impl Serialize for TraceId
[src][+]
impl StructuralEq for TraceId
[src]
impl StructuralPartialEq for TraceId
[src]
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][+]
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>,