Struct exonum::storage::Error [] [src]

pub struct Error { /* fields omitted */ }

The error type for I/O operations with storage.

Methods

impl Error
[src]

[src]

Creates a new storage error with an information message about the reason.

Examples

use exonum::storage::Error;

let error = Error::new("Oh no!");

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

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 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

impl From<_Error> for Error
[src]

[src]

Performs the conversion.