pub trait FromBytes<'a>: Sized {
    // Required method
    fn from_bytes(buf: &'a [u8]) -> Result<Self>;
}

Required Methods§

source

fn from_bytes(buf: &'a [u8]) -> Result<Self>

Implementors§

source§

impl<'a, T> FromBytes<'a> for Twhere T: IsFromBytes<'a>,