Trait swiss_army_knife::strings::FromBytes[][src]

pub trait FromBytes: Sized {
    type Error: Error;
    fn from_bytes(bytes: &[u8]) -> Result<Self, Self::Error>;
}

From bytes.

Associated Types

type Error: Error[src]

Error.

Loading content...

Required methods

fn from_bytes(bytes: &[u8]) -> Result<Self, Self::Error>[src]

From bytes.

Loading content...

Implementors

impl<P: ParseNumber> FromBytes for P[src]

type Error = ParseNumberError

Loading content...