[−][src]Struct racetrack::tracker::Assertion
An assertion object
Methods
impl Assertion
[src]
pub fn was_called_once(self) -> MetaAssertion
[src]
Require that the method was called exactly once. Returns an object that lets you assert more detailed metadata.
pub fn was_called_times(self, n: usize) -> MetaAssertion
[src]
Require that the method was called exactly n
times.
Returns an object that lets you assert more detailed metadata.
pub fn wasnt_called(self)
[src]
Require that the method wasn't called. Ends the assertion chain.
Auto Trait Implementations
impl !RefUnwindSafe for Assertion
impl Send for Assertion
impl Sync for Assertion
impl Unpin for Assertion
impl !UnwindSafe for Assertion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,