Enum nx::file::Error
[−]
[src]
pub enum Error { Io(IoError), InvalidMagic, TooShort, }
An error occuring anywhere in the library.
Variants
Io(IoError)
An internal IoError.
InvalidMagic
Magic value in header was incorrect.
TooShort
File was too short.
Trait Implementations
impl Debug for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), FmtError>
Formats the value using the given formatter. Read more