Struct chemfiles::Error [] [src]

pub struct Error {
    pub status: Status,
    pub message: String,
}

Error type for Chemfiles.

Fields

The error status code

A message describing the error cause

Methods

impl Error
[src]

[src]

Get the last error message from the C++ library.

[src]

Clear any error from the C++ library

Trait Implementations

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<chfl_status> for Error
[src]

[src]

Performs the conversion.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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