Trait Serialize

Source
pub trait Serialize {
    // Required method
    fn to_bytes(self, dst: &mut [u8]) -> Result<usize, Error>;
}

Required Methods§

Source

fn to_bytes(self, dst: &mut [u8]) -> Result<usize, Error>

Implementors§

Source§

impl<'a, T> Encodable for T
where T: Into<EncodableField<'a>>,