Trait std::error::ErrorUnstable
[-]
[+]
[src]
pub trait Error: Send { fn description(&self) -> &str; fn detail(&self) -> Option<String> { ... } fn cause(&self) -> Option<&Error> { ... } }
Base functionality for all errors in Rust.
Required Methods
fn description(&self) -> &str
A short description of the error; usually a static string.
Provided Methods
fn detail(&self) -> Option<String>
A detailed description of the error, usually including dynamic information.
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any.
Implementors
impl Error for Utf8Error
impl Error for FromUtf8Error
impl Error for FromUtf16Error
impl Error for IoError
impl Error for MapError