Enum sdc::error::Error
[−]
[src]
pub enum Error { Byteorder(Error), InvalidHeaderInformation, InvalidMajorVersion(u16), InvalidTargetType(u8), Io(Error), Utf8(Utf8Error), }
Our custom error type.
Variants
Byteorder(Error)
Wrapper around a byteorder::Error
.
InvalidHeaderInformation
The header information is invalid.
InvalidMajorVersion(u16)
The sdc file has an invalid major version number.
InvalidTargetType(u8)
The given number cannot be converted to a target type.
Io(Error)
Wrapper around std::io::Error
.
Utf8(Utf8Error)
Wrapper around std::str::Error
.
Trait Implementations
impl Debug for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more