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]
impl Debug for ReadNpzErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for ReadNpzError
impl Display for ReadNpzErrorimpl Error for ReadNpzError
impl Error for ReadNpzErrorfn description(&self) -> &str
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl From<Error> for ReadNpzError
impl From<Error> for ReadNpzErrorfn from(err: Error) -> ReadNpzError
fn from(err: Error) -> ReadNpzErrorPerforms the conversion.
impl From<ZipError> for ReadNpzError
impl From<ZipError> for ReadNpzErrorfn from(err: ZipError) -> ReadNpzError
fn from(err: ZipError) -> ReadNpzErrorPerforms the conversion.
impl From<ReadNpyError> for ReadNpzError
impl From<ReadNpyError> for ReadNpzErrorfn from(err: ReadNpyError) -> ReadNpzError
fn from(err: ReadNpyError) -> ReadNpzErrorPerforms the conversion.
Auto Trait Implementations
impl Send for ReadNpzError
impl Send for ReadNpzErrorimpl Sync for ReadNpzError
impl Sync for ReadNpzError