pub trait DecoderBuilder<T: CodecSpec>: CodecBuilder<T> {
// Required method
fn new_decoder(
&self,
id: CodecID,
params: &CodecParameters,
options: Option<&Variant>,
) -> Result<Box<dyn Decoder<T>>>;
}Required Methods§
fn new_decoder( &self, id: CodecID, params: &CodecParameters, options: Option<&Variant>, ) -> Result<Box<dyn Decoder<T>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".