Enum ndarray_npy::ReadNpzError
[−]
pub enum ReadNpzError { Io(Error), Zip(ZipError), Npy(ReadNpyError), }
An error reading a .npz
file.
Variants
Io(Error)
An error caused by I/O.
Zip(ZipError)
An error caused by the zip archive.
Npy(ReadNpyError)
An error caused by reading an inner .npy
file.
Trait Implementations
impl Debug for ReadNpzError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for ReadNpzError
impl Error for ReadNpzError
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
impl From<Error> for ReadNpzError
fn from(err: Error) -> ReadNpzError
Performs the conversion.
impl From<ZipError> for ReadNpzError
fn from(err: ZipError) -> ReadNpzError
Performs the conversion.
impl From<ReadNpyError> for ReadNpzError
fn from(err: ReadNpyError) -> ReadNpzError
Performs the conversion.