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

pub trait Fill {
    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

fn fill(&self, slot: &mut Slot) -> Result<(), Error>

Fill a value.

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...