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> Unpin for CachingCustomHandlerState<ExecC, QueryC>
impl<ExecC, QueryC> !UnwindSafe for CachingCustomHandlerState<ExecC, QueryC>
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moresource§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