Struct log4rs::file::Deserializers [] [src]

pub struct Deserializers(_);

A container of Deserializers.

Methods

impl Deserializers
[src]

[src]

Creates a Deserializers with default mappings.

All are enabled by default.

  • Appenders
    • "console" -> ConsoleAppenderDeserializer
      • Requires the console_appender feature.
    • "file" -> FileAppenderDeserializer
      • Requires the file_appender feature.
    • "rolling_file" -> RollingFileAppenderDeserializer
      • Requires the rolling_file_appender feature.
  • Encoders
    • "pattern" -> PatternEncoderDeserializer
      • Requires the pattern_encoder feature.
    • "json" -> JsonEncoderDeserializer
      • Requires the json_encoder feature.
  • Filters
    • "threshold" -> ThresholdFilterDeserializer
      • Requires the threshold_filter feature.
  • Policies
    • "compound" -> CompoundPolicyDeserializer
      • Requires the compound_policy feature.
  • Rollers
    • "delete" -> DeleteRollerDeserializer
      • Requires the delete_roller feature.
    • "fixed_window" -> FixedWindowRollerDeserializer
      • Requires the fixed_window_roller feature.
  • Triggers
    • "size" -> SizeTriggerDeserializer
      • Requires the size_trigger feature.

[src]

Creates a new Deserializers with no mappings.

[src]

Adds a mapping from the specified kind to a deserializer.

[src]

Deserializes a value of a specific type and kind.

Trait Implementations

impl Clone for Deserializers
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Deserializers
[src]

[src]

Returns the "default value" for a type. Read more