Enum ndarray_npz::ReadNpzError
source · pub enum ReadNpzError {
Zip(ZipError),
Npy(ReadNpyError),
}
Expand description
An error reading a .npz
file.
Variants§
Zip(ZipError)
An error caused by the zip archive.
Npy(ReadNpyError)
An error caused by reading an inner .npy
file.
Trait Implementations§
source§impl Debug for ReadNpzError
impl Debug for ReadNpzError
source§impl Display for ReadNpzError
impl Display for ReadNpzError
source§impl Error for ReadNpzError
impl Error for ReadNpzError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ReadNpyError> for ReadNpzError
impl From<ReadNpyError> for ReadNpzError
source§fn from(err: ReadNpyError) -> ReadNpzError
fn from(err: ReadNpyError) -> ReadNpzError
Converts to this type from the input type.
source§impl From<ZipError> for ReadNpzError
impl From<ZipError> for ReadNpzError
source§fn from(err: ZipError) -> ReadNpzError
fn from(err: ZipError) -> ReadNpzError
Converts to this type from the input type.