Trait FromBytes
swiss_army_knife::strings
pub trait FromBytes: Sized { type Error: Error; fn from_bytes(bytes: &[u8]) -> Result<Self, Self::Error>; }
From bytes.
type Error: Error
Error.
fn from_bytes(bytes: &[u8]) -> Result<Self, Self::Error>
impl<P: ParseNumber> FromBytes for P
type Error = ParseNumberError