Trait log4rs::file::Deserialize [] [src]

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<Error + Sync + Send>>; }

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