pub trait Encoder: Sealed {
type W: Writer;
type C: Config;
// Required methods
fn writer(&mut self) -> &mut Self::W;
fn config(&self) -> &Self::C;
}
Expand description
Helper trait to encode basic types into.
pub trait Encoder: Sealed {
type W: Writer;
type C: Config;
// Required methods
fn writer(&mut self) -> &mut Self::W;
fn config(&self) -> &Self::C;
}
Helper trait to encode basic types into.