pub struct Mock<T, U> { /* private fields */ }
Expand description
A mock service
Trait Implementations§
Auto Trait Implementations§
impl<T, U> !Freeze for Mock<T, U>
impl<T, U> RefUnwindSafe for Mock<T, U>
impl<T, U> Send for Mock<T, U>
impl<T, U> Sync for Mock<T, U>
impl<T, U> Unpin for Mock<T, U>
impl<T, U> UnwindSafe for Mock<T, U>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)