Trait bin_layout::Encoder
source · [−]pub trait Encoder: Sized {
const SIZE: usize;
fn encoder(self, _: &mut Cursor<impl Bytes>);
fn size_hint(&self) -> usize { ... }
fn encode(self) -> Vec<u8> { ... }
}pub trait Encoder: Sized {
const SIZE: usize;
fn encoder(self, _: &mut Cursor<impl Bytes>);
fn size_hint(&self) -> usize { ... }
fn encode(self) -> Vec<u8> { ... }
}