pub trait FromBytes<'a>: Sized {
// Required method
fn from_bytes(buf: &'a [u8]) -> Result<Self, Global>;
}
Required Methods§
fn from_bytes(buf: &'a [u8]) -> Result<Self, Global>
Object Safety§
This trait is not object safe.
pub trait FromBytes<'a>: Sized {
// Required method
fn from_bytes(buf: &'a [u8]) -> Result<Self, Global>;
}