pub struct Deserializers(_);
Expand description

A container of Deserializers.

Implementations

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.

Creates a new Deserializers with no mappings.

Adds a mapping from the specified kind to a deserializer.

Deserializes a value of a specific type and kind.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.