pub trait SerBin {
    // Required method
    fn ser_bin(&self, s: &mut Vec<u8>);

    // Provided method
    fn serialize_bin(&self) -> Vec<u8> { ... }
}

Required Methods§

source

fn ser_bin(&self, s: &mut Vec<u8>)

Provided Methods§

source

fn serialize_bin(&self) -> Vec<u8>

Implementations on Foreign Types§

source§

impl<T> SerBin for Box<T>where T: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for OsString

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for OsStr

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl<T> SerBin for Vec<T>where T: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl<K, V> SerBin for HashMap<K, V>where K: SerBin, V: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for f64

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for u64

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for u8

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for u32

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for usize

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for i64

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for i32

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for Path

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for i16

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for bool

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl<T, E> SerBin for Result<T, E>where T: SerBin, E: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for String

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl<A, B, C> SerBin for (A, B, C)where A: SerBin, B: SerBin, C: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for PathBuf

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for f32

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl<A, B> SerBin for (A, B)where A: SerBin, B: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl<T> SerBin for [T]where T: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for u16

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl<T> SerBin for Option<T>where T: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl SerBin for char

source§

fn ser_bin(&self, s: &mut Vec<u8>)

source§

impl<A, B, C, D> SerBin for (A, B, C, D)where A: SerBin, B: SerBin, C: SerBin, D: SerBin,

source§

fn ser_bin(&self, s: &mut Vec<u8>)

Implementors§