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)>
Returns 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.
Auto Trait Implementations§
impl Freeze for WriteNpzError
impl !RefUnwindSafe for WriteNpzError
impl Send for WriteNpzError
impl Sync for WriteNpzError
impl Unpin for WriteNpzError
impl !UnwindSafe for WriteNpzError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more