Struct tracing::field::DebugValue
source · [−]pub struct DebugValue<T>(_)
where
T: Debug;
Expand description
A Value
which serializes as a string using fmt::Debug
.
Trait Implementations
sourceimpl<T> Clone for DebugValue<T>where
T: Clone + Debug,
impl<T> Clone for DebugValue<T>where
T: Clone + Debug,
sourcefn clone(&self) -> DebugValue<T>
fn clone(&self) -> DebugValue<T>
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T> Debug for DebugValue<T>where
T: Debug,
impl<T> Debug for DebugValue<T>where
T: Debug,
Auto Trait Implementations
impl<T> RefUnwindSafe for DebugValue<T>where
T: RefUnwindSafe,
impl<T> Send for DebugValue<T>where
T: Send,
impl<T> Sync for DebugValue<T>where
T: Sync,
impl<T> Unpin for DebugValue<T>where
T: Unpin,
impl<T> UnwindSafe for DebugValue<T>where
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T: Future> Future for Instrumented<T> type Output = T::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T: Future> Future for Instrumented<T> type Output = T::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T: Future> Future for Instrumented<T> type Output = T::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T: Future> Future for Instrumented<T> type Output = T::Output;
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more