pub struct RootExpectations<'e, T: Debug> { /* private fields */ }Expand description
Container for expectations on a value.
Returned by expect
Implementations§
Trait Implementations§
Source§impl<'e, T: Debug> Drop for RootExpectations<'e, T>
impl<'e, T: Debug> Drop for RootExpectations<'e, T>
Source§impl<'e, T: Debug> ExpectationBuilder<'e, T> for RootExpectations<'e, T>
impl<'e, T: Debug> ExpectationBuilder<'e, T> for RootExpectations<'e, T>
Source§fn to_pass(self, expectation: impl Expectation<T> + 'e) -> Self
fn to_pass(self, expectation: impl Expectation<T> + 'e) -> Self
Add an expectation to the list of expectations
Auto Trait Implementations§
impl<'e, T> Freeze for RootExpectations<'e, T>where
T: Freeze,
impl<'e, T> !RefUnwindSafe for RootExpectations<'e, T>
impl<'e, T> !Send for RootExpectations<'e, T>
impl<'e, T> !Sync for RootExpectations<'e, T>
impl<'e, T> Unpin for RootExpectations<'e, T>where
T: Unpin,
impl<'e, T> !UnwindSafe for RootExpectations<'e, T>
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
Source§impl<'e, T, B> EqualityExpectations<T> for B
impl<'e, T, B> EqualityExpectations<T> for B
Source§impl<'e, T, B> OrderExpectations<T> for B
impl<'e, T, B> OrderExpectations<T> for B
Source§fn to_be_less_than(self, value: T) -> B
fn to_be_less_than(self, value: T) -> B
Expect the value to be less than another value Read more
Source§fn to_be_less_than_or_equal(self, value: T) -> B
fn to_be_less_than_or_equal(self, value: T) -> B
Expect the value to be less than or equal to another value Read more
Source§fn to_be_greater_than(self, value: T) -> B
fn to_be_greater_than(self, value: T) -> B
Expect the value to be greater than another value Read more
Source§fn to_be_greater_than_or_equal(self, value: T) -> B
fn to_be_greater_than_or_equal(self, value: T) -> B
Expect the value to be greater than or equal to another value Read more