Enum ndarray_npz::WriteNpzError
source · pub enum WriteNpzError {
Zip(ZipError),
Npy(WriteNpyError),
}
Expand description
An error writing a .npz
file.
Variants§
Zip(ZipError)
An error caused by the zip file.
Npy(WriteNpyError)
An error caused by writing an inner .npy
file.
Trait Implementations§
source§impl Debug for WriteNpzError
impl Debug for WriteNpzError
source§impl Display for WriteNpzError
impl Display for WriteNpzError
source§impl Error for WriteNpzError
impl Error for WriteNpzError
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<WriteNpyError> for WriteNpzError
impl From<WriteNpyError> for WriteNpzError
source§fn from(err: WriteNpyError) -> WriteNpzError
fn from(err: WriteNpyError) -> WriteNpzError
Converts to this type from the input type.
source§impl From<ZipError> for WriteNpzError
impl From<ZipError> for WriteNpzError
source§fn from(err: ZipError) -> WriteNpzError
fn from(err: ZipError) -> WriteNpzError
Converts to this type from the input type.