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