[][src]Trait nj_core::log::kv::value::Fill

pub trait Fill {
    pub fn fill(&self, slot: &mut Slot<'_, '_>) -> Result<(), Error>;
}

A type that requires extra work to convert into a Value.

This trait is a more advanced initialization API than ToValue. It's intended for erased values coming from other logging frameworks that may need to perform extra work to determine the concrete type to use.

Required methods

pub fn fill(&self, slot: &mut Slot<'_, '_>) -> Result<(), Error>[src]

Fill a value.

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...