Struct log4rs::encode::EncoderConfig
source · [−]Expand description
Configuration for an encoder.
Fields
kind: String
The encoder’s kind.
config: Value
The encoder’s configuration.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for EncoderConfig
impl<'de> Deserialize<'de> for EncoderConfig
sourcefn deserialize<D>(d: D) -> Result<EncoderConfig, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<EncoderConfig, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for EncoderConfig
impl Send for EncoderConfig
impl Sync for EncoderConfig
impl Unpin for EncoderConfig
impl UnwindSafe for EncoderConfig
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