Struct wombo::WomboError
[−]
[src]
pub struct WomboError { /* fields omitted */ }
A Wombo
error.
Methods
impl WomboError
[src]
fn new<S: Into<String>>(kind: WomboErrorKind, details: S) -> WomboError
[src]
fn to_string(&self) -> String
[src]
fn new_canceled() -> WomboError
[src]
fn new_not_initialized() -> WomboError
[src]
fn kind(&self) -> &WomboErrorKind
[src]
Trait Implementations
impl Clone for WomboError
[src]
fn clone(&self) -> WomboError
[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 Debug for WomboError
[src]
impl Eq for WomboError
[src]
impl PartialEq for WomboError
[src]
fn eq(&self, __arg_0: &WomboError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &WomboError) -> bool
[src]
This method tests for !=
.
impl Display for WomboError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for WomboError
[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