Struct mimicry::RealCallGuard
source · Expand description
Guard for the real / mock implementation switch.
RealCallGuard
s are produced by the methods in the CallReal
trait; see its docs
for more details.
Implementations
sourceimpl<T: CallReal + ?Sized> RealCallGuard<'_, T>
impl<T: CallReal + ?Sized> RealCallGuard<'_, T>
Trait Implementations
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for RealCallGuard<'a, T>where
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for RealCallGuard<'a, T>where
T: Sync,
impl<'a, T: ?Sized> Sync for RealCallGuard<'a, T>where
T: Sync,
impl<'a, T: ?Sized> Unpin for RealCallGuard<'a, T>
impl<'a, T: ?Sized> UnwindSafe for RealCallGuard<'a, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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