Trait bstring::from_bstr::FromBStr [] [src]

pub trait FromBStr: Sized {
    type Err;
    fn from_bstr(b: &bstr) -> Result<Self, Self::Err>;
}

Parses a value from a &bstr, much like FromStr parses from &str.

Associated Types

Error type returned from a failed parsing attempt.

Required Methods

Parses a bstr to return this value.

Implementors