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]
impl Debug for WriteNpyErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for WriteNpyError
impl Display for WriteNpyErrorimpl Error for WriteNpyError
impl Error for WriteNpyErrorfn description(&self) -> &str
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl From<Error> for WriteNpyError
impl From<Error> for WriteNpyErrorfn from(err: Error) -> WriteNpyError
fn from(err: Error) -> WriteNpyErrorPerforms the conversion.
impl From<WriteNpyError> for WriteNpzError
impl From<WriteNpyError> for WriteNpzErrorfn from(err: WriteNpyError) -> WriteNpzError
fn from(err: WriteNpyError) -> WriteNpzErrorPerforms the conversion.
Auto Trait Implementations
impl Send for WriteNpyError
impl Send for WriteNpyErrorimpl Sync for WriteNpyError
impl Sync for WriteNpyError