Trait swiss_army_knife::strings::FromBytes
source · [−]pub trait FromBytes: Sized {
type Error: Error;
fn from_bytes(bytes: &[u8]) -> Result<Self, Self::Error>;
}
Expand description
From bytes.
pub trait FromBytes: Sized {
type Error: Error;
fn from_bytes(bytes: &[u8]) -> Result<Self, Self::Error>;
}
From bytes.