pub trait Deserialize: Send + Sync + 'static {
    type Trait: ?Sized + Deserializable;
    type Config: DeserializeOwned;
    fn deserialize(
        &self,
        config: Self::Config,
        deserializers: &Deserializers
    ) -> Result<Box<Self::Trait>, Box<dyn Error + Sync + Send>>; }
Expand description

A trait for objects that can deserialize log4rs components out of a config.

Associated Types

The trait that this deserializer will create.

This deserializer’s configuration.

Required methods

Create a new trait object based on the provided config.

Implementors