pub trait EncoderBuilder<T>: CodecBuilder<T>where
T: CodecSpec,{
// Required method
fn new_encoder(
&self,
id: CodecID,
params: &CodecParameters,
options: Option<&Variant>,
) -> Result<Box<dyn Encoder<T>>, Error>;
}