pub struct CacheInterceptor<P>where
P: CachePolicy,{ /* private fields */ }Implementations§
Source§impl<P> CacheInterceptor<P>where
P: CachePolicy,
impl<P> CacheInterceptor<P>where
P: CachePolicy,
Trait Implementations§
Source§impl<P> Clone for CacheInterceptor<P>where
P: CachePolicy + Clone,
impl<P> Clone for CacheInterceptor<P>where
P: CachePolicy + Clone,
Source§fn clone(&self) -> CacheInterceptor<P>
fn clone(&self) -> CacheInterceptor<P>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<P> Debug for CacheInterceptor<P>where
P: CachePolicy + Debug,
impl<P> Debug for CacheInterceptor<P>where
P: CachePolicy + Debug,
Source§impl<P> Default for CacheInterceptor<P>where
P: CachePolicy,
impl<P> Default for CacheInterceptor<P>where
P: CachePolicy,
Source§impl<P> Interceptor for CacheInterceptor<P>where
P: CachePolicy,
impl<P> Interceptor for CacheInterceptor<P>where
P: CachePolicy,
fn around( &self, ctx: RequestContext, req: Request<Body>, next: NextFn, ) -> NextFuture
Auto Trait Implementations§
impl<P> Freeze for CacheInterceptor<P>where
P: Freeze,
impl<P> RefUnwindSafe for CacheInterceptor<P>where
P: RefUnwindSafe,
impl<P> Send for CacheInterceptor<P>
impl<P> Sync for CacheInterceptor<P>
impl<P> Unpin for CacheInterceptor<P>where
P: Unpin,
impl<P> UnsafeUnpin for CacheInterceptor<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for CacheInterceptor<P>where
P: UnwindSafe,
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