Trait binserde::ser::BinSerializer
source · [−]pub trait BinSerializer: Sized {
type Pipe: Write;
fn pipe(&mut self) -> &mut Self::Pipe;
fn dedup(&mut self) -> &mut DedupContext;
fn mode(&self) -> Mode;
fn with_mode(self, mode: Mode) -> WithMode<Self> { ... }
fn change_mode<F>(self, op: F) -> WithMode<Self>
where
F: FnOnce(&mut Mode),
{ ... }
fn disable_dedup(self) -> WithMode<Self> { ... }
}