pub struct CachingCustomHandlerState<ExecC, QueryC> { /* private fields */ }Expand description
Internal state of CachingCustomHandler wrapping internal mutability so it is not exposed to
user. Those have to be shared internal state, as after mock is passed to app it is not
possible to access mock internals which are not exposed by API.
Implementations§
Source§impl<ExecC, QueryC> CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> CachingCustomHandlerState<ExecC, QueryC>
Trait Implementations§
Source§impl<ExecC, QueryC> Clone for CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> Clone for CachingCustomHandlerState<ExecC, QueryC>
Auto Trait Implementations§
impl<ExecC, QueryC> !RefUnwindSafe for CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> !Send for CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> !Sync for CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> !UnwindSafe for CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> Freeze for CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> Unpin for CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> UnsafeUnpin for CachingCustomHandlerState<ExecC, QueryC>
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more