pub trait Descriptor {
    type OutputDecoder: Decoder;

    fn create(&self) -> Self::OutputDecoder;
    fn describe(&self) -> &Descr;
}
Expand description

Used to get the descriptor of a codec and create its own decoder.

Required Associated Types

The specific type of the decoder.

Required Methods

Creates a new decoder for the requested codec.

Returns the codec descriptor.

Implementors