pub struct ExpectationFailed { /* private fields */ }👎Deprecated: This module is in maintenance mode; the
anyhow library might be a better choiceExpand description
The error object returned by the ExpectedResult methods.
Trait Implementations§
Source§impl Debug for ExpectationFailed
impl Debug for ExpectationFailed
Source§impl Display for ExpectationFailed
impl Display for ExpectationFailed
Source§impl Error for ExpectationFailed
impl Error for ExpectationFailed
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ExpectationFailed
impl RefUnwindSafe for ExpectationFailed
impl Send for ExpectationFailed
impl Sync for ExpectationFailed
impl Unpin for ExpectationFailed
impl UnwindSafe for ExpectationFailed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more