Enum beam_file::Error
[−]
[src]
pub enum Error { Io(Error), InvalidString(Utf8Error), UnexpectedMagicNumber { magic_number: [u8; 4], }, UnexpectedFormType { form_type: [u8; 4], }, UnexpectedChunk { id: Id, expected: Id, }, }
Variants
Io(Error)
InvalidString(Utf8Error)
UnexpectedMagicNumber
Fields of UnexpectedMagicNumber
magic_number: [u8; 4] |
UnexpectedFormType
Fields of UnexpectedFormType
form_type: [u8; 4] |
UnexpectedChunk
Fields of UnexpectedChunk
id: Id | |
expected: Id |
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more