pub struct Expectation<U, E = U> {
pub unexpected: U,
pub expected: E,
}Expand description
An expectation.
Fields§
§unexpected: UThe unexpected value.
expected: EThe expected value.
Trait Implementations§
Auto Trait Implementations§
impl<U, E> Freeze for Expectation<U, E>
impl<U, E> RefUnwindSafe for Expectation<U, E>where
U: RefUnwindSafe,
E: RefUnwindSafe,
impl<U, E> Send for Expectation<U, E>
impl<U, E> Sync for Expectation<U, E>
impl<U, E> Unpin for Expectation<U, E>
impl<U, E> UnwindSafe for Expectation<U, E>where
U: UnwindSafe,
E: UnwindSafe,
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