[][src]Struct log4rs::append::rolling_file::policy::compound::roll::fixed_window::FixedWindowRollerDeserializer

pub struct FixedWindowRollerDeserializer;

A deserializer for the FixedWindowRoller.

Configuration

kind: fixed_window

# The filename pattern for archived logs. This is either an absolute path or if lacking a leading `/`,
# relative to the `cwd` of your application. The pattern must contain at least one
# instance of `{}`, all of which will be replaced with an archived log file's index.
# If the file extension of the pattern is `.gz` and the `gzip` Cargo feature
# is enabled, the archive files will be gzip-compressed.
# Required.
pattern: archive/foo.{}.log

# The maximum number of archived logs to maintain. Required.
count: 5

# The base value for archived log indices. Defaults to 0.
base: 1

Trait Implementations

impl Deserialize for FixedWindowRollerDeserializer[src]

type Trait = dyn Roll

The trait that this deserializer will create.

type Config = FixedWindowRollerConfig

This deserializer's configuration.

Auto Trait Implementations

Blanket Implementations

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

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

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

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> UnsafeAny for T where
    T: Any