Enum sbd::Error [] [src]

pub enum Error {
    ByteorderError(Error),
    IoError(Error),
    InvalidImei,
    InvalidProtocolRevisionNumber(u8),
    GlobError(GlobError),
    MissingMobileOriginatedHeader,
    MissingMobileOriginatedPayload,
    Oversized,
    PatternError(PatternError),
    Undersized(usize),
}

Variants

ByteorderError(Error)IoError(Error)InvalidImeiInvalidProtocolRevisionNumber(u8)GlobError(GlobError)MissingMobileOriginatedHeaderMissingMobileOriginatedPayloadOversizedPatternError(PatternError)Undersized(usize)

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl From<PatternError> for Error
[src]

fn from(err: PatternError) -> Error

Performs the conversion.

impl From<GlobError> for Error
[src]

fn from(err: GlobError) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.