Struct mockers::Expectation1
source · pub struct Expectation1<Arg0, Res, F: FnOnce(Arg0) -> Res> { /* private fields */ }
Trait Implementations§
source§impl<Arg0: 'static, Res: 'static, F: FnOnce(Arg0) -> Res + 'static> Expectation for Expectation1<Arg0, Res, F>
impl<Arg0: 'static, Res: 'static, F: FnOnce(Arg0) -> Res + 'static> Expectation for Expectation1<Arg0, Res, F>
Auto Trait Implementations§
impl<Arg0, Res, F> !RefUnwindSafe for Expectation1<Arg0, Res, F>
impl<Arg0, Res, F> !Send for Expectation1<Arg0, Res, F>
impl<Arg0, Res, F> !Sync for Expectation1<Arg0, Res, F>
impl<Arg0, Res, F> Unpin for Expectation1<Arg0, Res, F>
impl<Arg0, Res, F> !UnwindSafe for Expectation1<Arg0, Res, F>
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