Trait tracing_core::field::Value[][src]

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)[src]

Visits this value with the given Visitor.

Loading content...

Trait Implementations

impl Debug for dyn Value[src]

impl Display for dyn Value[src]

Implementations on Foreign Types

impl Value for u64[src]

impl Value for NonZeroU64[src]

impl Value for usize[src]

impl Value for NonZeroUsize[src]

impl Value for u32[src]

impl Value for NonZeroU32[src]

impl Value for u16[src]

impl Value for NonZeroU16[src]

impl Value for u8[src]

impl Value for NonZeroU8[src]

impl Value for i64[src]

impl Value for NonZeroI64[src]

impl Value for isize[src]

impl Value for NonZeroIsize[src]

impl Value for i32[src]

impl Value for NonZeroI32[src]

impl Value for i16[src]

impl Value for NonZeroI16[src]

impl Value for i8[src]

impl Value for NonZeroI8[src]

impl Value for bool[src]

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

impl Value for str[src]

impl Value for dyn Error + 'static[src]

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

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

Loading content...

Implementors

impl Value for Empty[src]

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

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

Loading content...