Struct rinutil::Error [−][src]
pub struct Error { /* fields omitted */ }
Methods
impl Error
[src]
impl Error
pub fn new(desc: &str) -> Error
[src]
pub fn new(desc: &str) -> Error
pub fn with_cause<'a, E: 'static + Error, C: Into<Option<E>>>(
desc: &str,
cause: C
) -> Error
[src]
pub fn with_cause<'a, E: 'static + Error, C: Into<Option<E>>>(
desc: &str,
cause: C
) -> Error
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> From<&'a str> for Error
[src]
impl<'a> From<&'a str> for Error