Enum unimock::macro_api::Evaluation
source · [−]Expand description
The evaluation of a MockFn.
Used to tell trait implementations whether to do perform their own evaluation of a call.
The output is generic, because both owned and referenced output are supported.
Variants
Evaluated(O)
Function evaluated to its output.
Skipped(F::Inputs<'i>)
Function not yet evaluated.
Implementations
Auto Trait Implementations
impl<'i, O, F> RefUnwindSafe for Evaluation<'i, O, F> where
O: RefUnwindSafe,
<F as MockFn>::Inputs<'i>: RefUnwindSafe,
impl<'i, O, F> Send for Evaluation<'i, O, F> where
O: Send,
<F as MockFn>::Inputs<'i>: Send,
impl<'i, O, F> Sync for Evaluation<'i, O, F> where
O: Sync,
<F as MockFn>::Inputs<'i>: Sync,
impl<'i, O, F> Unpin for Evaluation<'i, O, F> where
O: Unpin,
<F as MockFn>::Inputs<'i>: Unpin,
impl<'i, O, F> UnwindSafe for Evaluation<'i, O, F> where
O: UnwindSafe,
<F as MockFn>::Inputs<'i>: UnwindSafe,
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