pub trait Descriptor {
type OutputDecoder: Decoder;
// Required methods
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§
Sourcetype OutputDecoder: Decoder
type OutputDecoder: Decoder
The specific type of the decoder.
Required Methods§
Sourcefn create(&self) -> Self::OutputDecoder
fn create(&self) -> Self::OutputDecoder
Creates a new decoder for the requested codec.