pub enum WriteHeaderError {
Io(Error),
Format(FormatHeaderError),
}Expand description
Error writing an .npy header.
Variants§
Trait Implementations§
Source§impl Debug for WriteHeaderError
impl Debug for WriteHeaderError
Source§impl Display for WriteHeaderError
impl Display for WriteHeaderError
Source§impl Error for WriteHeaderError
impl Error for WriteHeaderError
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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for WriteHeaderError
impl From<Error> for WriteHeaderError
Source§fn from(err: Error) -> WriteHeaderError
fn from(err: Error) -> WriteHeaderError
Converts to this type from the input type.
Source§impl From<FormatHeaderError> for WriteHeaderError
impl From<FormatHeaderError> for WriteHeaderError
Source§fn from(err: FormatHeaderError) -> WriteHeaderError
fn from(err: FormatHeaderError) -> WriteHeaderError
Converts to this type from the input type.
Source§impl From<WriteHeaderError> for WriteNpyError
impl From<WriteHeaderError> for WriteNpyError
Source§fn from(err: WriteHeaderError) -> WriteNpyError
fn from(err: WriteHeaderError) -> WriteNpyError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WriteHeaderError
impl !RefUnwindSafe for WriteHeaderError
impl Send for WriteHeaderError
impl Sync for WriteHeaderError
impl Unpin for WriteHeaderError
impl !UnwindSafe for WriteHeaderError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more