pub struct Codecs<T: 'static + Descriptor + ?Sized> { /* private fields */ }
Expand description

A list of codec descriptors.

Trait Implementations

The type of the structure used to describe a codec.

Creates a new codec list.

Search by name whether a codec descriptor is in the codec list and returns it. Read more

Appends a codec to the list.

Creates a new codec list starting from a list of codec descriptors.

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.