[][src]Struct log4rs::file::RawConfig

pub struct RawConfig { /* fields omitted */ }

A raw deserializable log4rs configuration.

Methods

impl RawConfig[src]

pub fn root(&self) -> Root[src]

Returns the root.

pub fn loggers(&self) -> Vec<Logger>[src]

Returns the loggers.

pub fn appenders_lossy(
    &self,
    deserializers: &Deserializers
) -> (Vec<Appender>, Vec<Error>)
[src]

Returns the appenders.

Any components which fail to be deserialized will be ignored.

pub fn refresh_rate(&self) -> Option<Duration>[src]

Returns the requested refresh rate.

Trait Implementations

impl<'de> Deserialize<'de> for RawConfig[src]

Auto Trait Implementations

impl Send for RawConfig

impl Sync for RawConfig

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> UnsafeAny for T where
    T: Any
[src]