Struct exonum::storage::Error
[−]
[src]
pub struct Error { /* fields omitted */ }
The error type for I/O operations with storage.
Methods
impl Error
[src]
fn new<T: Into<String>>(message: T) -> Error
[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]
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more