pub trait Descriptor {
    type OutputEncoder: Encoder;

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

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

Required Associated Types

The specific type of the encoder.

Required Methods

Creates a new encoder for the requested codec.

Returns the codec descriptor.

Implementors