[][src]Trait value_bag::fill::Fill

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

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

This trait is an advanced initialization API. 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>[src]

Fill a value.

Loading content...

Implementors

impl<F> Fill for F where
    F: Fn(&mut Slot<'_, '_>) -> Result<(), Error>, 
[src]

Loading content...