pub struct RawConfig { /* private fields */ }
Expand description
A raw deserializable log4rs configuration.
Implementations§
source§impl RawConfig
impl RawConfig
sourcepub fn appenders_lossy(
&self,
deserializers: &Deserializers
) -> (Vec<Appender>, AppenderErrors)
pub fn appenders_lossy( &self, deserializers: &Deserializers ) -> (Vec<Appender>, AppenderErrors)
Returns the appenders.
Any components which fail to be deserialized will be ignored.
sourcepub fn refresh_rate(&self) -> Option<Duration>
pub fn refresh_rate(&self) -> Option<Duration>
Returns the requested refresh rate.
Trait Implementations§
source§impl<'de> Deserialize<'de> for RawConfig
impl<'de> Deserialize<'de> for RawConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RawConfig
impl Send for RawConfig
impl Sync for RawConfig
impl Unpin for RawConfig
impl UnwindSafe for RawConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more