Trait log4rs::file::Deserialize
[−]
[src]
pub trait Deserialize: Send + Sync + 'static { type Trait: ?Sized; fn deserialize(&self, config: Value, deserializers: &Deserializers) -> Result<Box<Self::Trait>, Box<Error>>; }
A trait for objects that can deserialize log4rs components out of a config.
Associated Types
Required Methods
fn deserialize(&self, config: Value, deserializers: &Deserializers) -> Result<Box<Self::Trait>, Box<Error>>
Create a new trait object based on the provided config.
Implementors
impl Deserialize for FileAppenderDeserializer
impl Deserialize for ConsoleAppenderDeserializer
impl Deserialize for ThresholdFilterDeserializer
impl Deserialize for PatternEncoderDeserializer