Enum ndarray_npy::WriteNpyError
[−]
pub enum WriteNpyError {
Io(Error),
FormatHeader(FormatHeaderError),
WritableElement(Box<Error + Send + Sync>),
}An error writing a .npy file.
Variants
Io(Error)An error caused by I/O.
FormatHeader(FormatHeaderError)WritableElement(Box<Error + Send + Sync>)An error issued by the element type when writing the data.
Trait Implementations
impl Debug for WriteNpyError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for WriteNpyError
impl Error for WriteNpyError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for WriteNpyError
fn from(err: Error) -> WriteNpyError
Performs the conversion.
impl From<WriteNpyError> for WriteNpzError
fn from(err: WriteNpyError) -> WriteNpzError
Performs the conversion.