[][src]Struct log4rs::append::rolling_file::policy::compound::CompoundPolicyDeserializer

pub struct CompoundPolicyDeserializer;

A deserializer for the CompoundPolicyDeserializer.

Configuration

kind: compound

# The trigger, which determines when the log will roll over. Required.
trigger:

  # Identifies which trigger is to be used. Required.
  kind: size

  # The remainder of the configuration is passed to the trigger's
  # deserializer, and will vary based on the kind of trigger.
  limit: 10 mb

# The roller, which processes the old log file. Required.
roller:

  # Identifies which roller is to be used. Required.
  kind: delete

  # The remainder of the configuration is passed to the roller's
  # deserializer, and will vary based on the kind of roller.

Trait Implementations

impl Deserialize for CompoundPolicyDeserializer[src]

type Trait = dyn Policy

The trait that this deserializer will create.

type Config = CompoundPolicyConfig

This deserializer's configuration.

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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