[][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...

Implementations on Foreign Types

impl Value for i64[src]

impl Value for u16[src]

impl Value for u32[src]

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

impl Value for str[src]

impl Value for dyn Error + 'static[src]

impl Value for isize[src]

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

impl Value for u64[src]

impl Value for bool[src]

impl Value for i16[src]

impl Value for usize[src]

impl Value for i32[src]

impl Value for i8[src]

Loading content...

Implementors

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

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

Loading content...