pub struct TraceId(/* private fields */);Expand description
The struct that represents the trace id layout. It’s built around
NonZeroU64 for now.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceId
impl<'de> Deserialize<'de> for TraceId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<NonZero<u64>> for TraceId
impl From<NonZero<u64>> for TraceId
Source§fn from(original: NonZeroU64) -> TraceId
fn from(original: NonZeroU64) -> TraceId
Converts to this type from the input type.
Source§impl From<TraceId> for NonZeroU64
impl From<TraceId> for NonZeroU64
impl Copy for TraceId
impl Eq for TraceId
impl StructuralPartialEq for TraceId
Auto Trait Implementations§
impl Freeze for TraceId
impl RefUnwindSafe for TraceId
impl Send for TraceId
impl Sync for TraceId
impl Unpin for TraceId
impl UnwindSafe for TraceId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more