Enum hdf5_rs::Error [] [src]

pub enum Error {
    LibraryError(ErrorStack),
    InternalError(String),
}

The error type for HDF5-related functions.

Variants

LibraryError(ErrorStack)

An error occurred in the C API of the HDF5 library. Full error stack is captured.

InternalError(String)

A user error occurred in the high-level Rust API (e.g., invalid user input).

Methods

impl Error
[src]

fn query() -> Option<Error>

fn description(&self) -> &str

Trait Implementations

impl Clone for Error
[src]

fn clone(&self) -> Error

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<S> From<S> for Error where S: Into<String>
[src]

fn from(desc: S) -> Error

Performs the conversion.

impl Debug for Error
[src]

fn fmt(&self, formatter: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Display for Error
[src]

fn fmt(&self, formatter: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more