Enum sdc::error::Error [] [src]

pub enum Error {
    Byteorder(Error),
    InvalidHeaderInformation,
    InvalidMajorVersion(u16),
    InvalidTargetType(u8),
    Io(Error),
    Utf8(Utf8Error),
}

Our custom error type.

Variants

Wrapper around a byteorder::Error.

The header information is invalid.

The sdc file has an invalid major version number.

The given number cannot be converted to a target type.

Wrapper around std::io::Error.

Wrapper around std::str::Error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.