Struct lambda_runtime::tracing::field::DisplayValue
source · pub struct DisplayValue<T>(/* private fields */)
where
T: Display;
Expand description
A Value
which serializes using fmt::Display
.
Uses record_debug
in the Value
implementation to
avoid an unnecessary evaluation.
Trait Implementations§
source§impl<T> Clone for DisplayValue<T>
impl<T> Clone for DisplayValue<T>
source§fn clone(&self) -> DisplayValue<T>
fn clone(&self) -> DisplayValue<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 DisplayValue<T>where
T: Display,
impl<T> Debug for DisplayValue<T>where
T: Display,
source§impl<T> Display for DisplayValue<T>where
T: Display,
impl<T> Display for DisplayValue<T>where
T: Display,
Auto Trait Implementations§
impl<T> Freeze for DisplayValue<T>where
T: Freeze,
impl<T> RefUnwindSafe for DisplayValue<T>where
T: RefUnwindSafe,
impl<T> Send for DisplayValue<T>where
T: Send,
impl<T> Sync for DisplayValue<T>where
T: Sync,
impl<T> Unpin for DisplayValue<T>where
T: Unpin,
impl<T> UnwindSafe for DisplayValue<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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)