pub trait DecoderBuilder<T: CodecConfig>: CodecBuilder<T> {
// Required method
fn new_decoder(
&self,
id: CodecID,
params: &CodecParameters,
options: Option<&Variant>,
) -> Result<Box<dyn Decoder<T>>>;
}pub trait DecoderBuilder<T: CodecConfig>: CodecBuilder<T> {
// Required method
fn new_decoder(
&self,
id: CodecID,
params: &CodecParameters,
options: Option<&Variant>,
) -> Result<Box<dyn Decoder<T>>>;
}