pub struct HasError<E> {
pub expected: E,
}Fields§
§expected: ETrait Implementations§
Source§impl<T, E, X> Expectation<&Result<T, E>> for HasError<X>
impl<T, E, X> Expectation<&Result<T, E>> for HasError<X>
Source§impl<T, E, X> Expectation<Result<T, E>> for HasError<X>
impl<T, E, X> Expectation<Result<T, E>> for HasError<X>
impl<X> Invertible for HasError<X>
Auto Trait Implementations§
impl<E> Freeze for HasError<E>where
E: Freeze,
impl<E> RefUnwindSafe for HasError<E>where
E: RefUnwindSafe,
impl<E> Send for HasError<E>where
E: Send,
impl<E> Sync for HasError<E>where
E: Sync,
impl<E> Unpin for HasError<E>where
E: Unpin,
impl<E> UnwindSafe for HasError<E>where
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