[][src]Trait tracing_core::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 u64[src]

impl Value for usize[src]

impl Value for u32[src]

impl Value for u16[src]

impl Value for i64[src]

impl Value for isize[src]

impl Value for i32[src]

impl Value for i16[src]

impl Value for i8[src]

impl Value for bool[src]

impl Value for str[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<T> Value for DisplayValue<T> where
    T: Display
[src]

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

Loading content...