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

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