[][src]Trait tracing::field::Value

pub trait Value: Sealed {
    fn record(&self, key: &Field, visitor: &mut dyn Visit);
}

A field value of an erased type.

Implementors of Value may call the appropriate typed recording methods on the visitor passed to their record method in order to indicate how their data should be recorded.

Required methods

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.

Loading content...

Trait Implementations

impl Debug for dyn Value + 'static[src]

impl Display for dyn Value + 'static[src]

Implementations on Foreign Types

impl Value for u8[src]

impl Value for isize[src]

impl Value for usize[src]

impl Value for bool[src]

impl Value for NonZeroI8[src]

impl Value for NonZeroU16[src]

impl Value for NonZeroU8[src]

impl Value for i32[src]

impl Value for NonZeroI16[src]

impl<T> Value for Wrapping<T> where
    T: Value
[src]

impl Value for str[src]

impl Value for i64[src]

impl<'a> Value for Arguments<'a>[src]

impl Value for i8[src]

impl Value for NonZeroI32[src]

impl Value for NonZeroUsize[src]

impl Value for NonZeroU32[src]

impl Value for u32[src]

impl Value for NonZeroU64[src]

impl Value for u64[src]

impl Value for NonZeroI64[src]

impl Value for u16[src]

impl<'a, T> Value for &'a T where
    T: Value + 'a + ?Sized
[src]

impl Value for NonZeroIsize[src]

impl Value for dyn Error + 'static[src]

impl Value for i16[src]

Loading content...

Implementors

impl Value for Empty[src]

impl<T> Value for DebugValue<T> where
    T: Debug
[src]

impl<T> Value for DisplayValue<T> where
    T: Display
[src]

Loading content...