pub struct FileAppenderDeserializer;
Expand description
A deserializer for the FileAppender
.
Configuration
kind: file
path: log/foo.log
append: true
encoder:
kind: pattern
Trait Implementations
sourceimpl Deserialize for FileAppenderDeserializer
impl Deserialize for FileAppenderDeserializer
type Config = FileAppenderConfig
type Config = FileAppenderConfig
This deserializer’s configuration.
sourcefn deserialize(
&self,
config: FileAppenderConfig,
deserializers: &Deserializers
) -> Result<Box<dyn Append>, Box<dyn Error + Sync + Send>>
fn deserialize(
&self,
config: FileAppenderConfig,
deserializers: &Deserializers
) -> Result<Box<dyn Append>, Box<dyn Error + Sync + Send>>
Create a new trait object based on the provided config.
Auto Trait Implementations
impl RefUnwindSafe for FileAppenderDeserializer
impl Send for FileAppenderDeserializer
impl Sync for FileAppenderDeserializer
impl Unpin for FileAppenderDeserializer
impl UnwindSafe for FileAppenderDeserializer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more