pub enum WriteDataError {
Io(Error),
FormatData(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
An error writing array data.
Variants§
Io(Error)
An error caused by I/O.
FormatData(Box<dyn Error + Send + Sync + 'static>)
An error formatting the data.
Trait Implementations§
Source§impl Debug for WriteDataError
impl Debug for WriteDataError
Source§impl Display for WriteDataError
impl Display for WriteDataError
Source§impl Error for WriteDataError
impl Error for WriteDataError
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<Error> for WriteDataError
impl From<Error> for WriteDataError
Source§fn from(err: Error) -> WriteDataError
fn from(err: Error) -> WriteDataError
Converts to this type from the input type.
Source§impl From<WriteDataError> for WriteNpyError
impl From<WriteDataError> for WriteNpyError
Source§fn from(err: WriteDataError) -> WriteNpyError
fn from(err: WriteDataError) -> WriteNpyError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WriteDataError
impl !RefUnwindSafe for WriteDataError
impl Send for WriteDataError
impl Sync for WriteDataError
impl Unpin for WriteDataError
impl !UnwindSafe for WriteDataError
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