pub struct DecoderContextBuilder(_);
Expand description

Builder class used to construct DecoderContext objects

Implementations

Configure the builder to use a key to decode messages

Whether this decoder will validate attributes.

If raw data belonging to unknown attributes must be stored. When this option is enabled, the Unknown attribute will keep the raw data value whenever an unknown attribute is decoded.

Builds a DecoderContext

Trait Implementations

Formats the value using the given formatter. 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 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.