pub struct Each<F: MockFn> { /* private fields */ }
Expand description
Builder for defining a series of cascading call patterns on a specific MockFn.
Implementations
sourceimpl<F> Each<F> where
F: MockFn + 'static,
impl<F> Each<F> where
F: MockFn + 'static,
sourcepub fn call<'e, M>(&'e mut self, matching: M) -> Match<'e, F, InAnyOrder> where
M: for<'i> Fn(&<F as MockInputs<'i>>::Inputs) -> bool + Send + Sync + RefUnwindSafe + 'static,
pub fn call<'e, M>(&'e mut self, matching: M) -> Match<'e, F, InAnyOrder> where
M: for<'i> Fn(&<F as MockInputs<'i>>::Inputs) -> bool + Send + Sync + RefUnwindSafe + 'static,
Auto Trait Implementations
impl<F> RefUnwindSafe for Each<F>
impl<F> Send for Each<F>
impl<F> Sync for Each<F>
impl<F> Unpin for Each<F>
impl<F> !UnwindSafe for Each<F>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more