pub struct DebugValue<T>(/* private fields */)
where
T: Debug;
Available on crate feature
tracing
only.Expand description
A Value
which serializes as a string using fmt::Debug
.
Trait Implementations§
source§impl<T> Clone for DebugValue<T>
impl<T> Clone for DebugValue<T>
source§fn clone(&self) -> DebugValue<T>
fn clone(&self) -> DebugValue<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T> Debug for DebugValue<T>where
T: Debug,
impl<T> Debug for DebugValue<T>where
T: Debug,
Auto Trait Implementations§
impl<T> Freeze for DebugValue<T>where
T: Freeze,
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)