pub struct EtagCacheLayer<C, P> { /* private fields */ }Expand description
The eponymous tower Layer
Implementations§
Source§impl<C, P> EtagCacheLayer<C, P>
impl<C, P> EtagCacheLayer<C, P>
Source§impl<C> EtagCacheLayer<C, DefaultPredicate>
impl<C> EtagCacheLayer<C, DefaultPredicate>
pub fn with_default_predicate(cache_provider: C) -> Self
Trait Implementations§
Source§impl<C: Clone, P: Clone> Clone for EtagCacheLayer<C, P>
impl<C: Clone, P: Clone> Clone for EtagCacheLayer<C, P>
Source§fn clone(&self) -> EtagCacheLayer<C, P>
fn clone(&self) -> EtagCacheLayer<C, 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 moreimpl<C: Copy, P: Copy> Copy for EtagCacheLayer<C, P>
Auto Trait Implementations§
impl<C, P> Freeze for EtagCacheLayer<C, P>
impl<C, P> RefUnwindSafe for EtagCacheLayer<C, P>where
C: RefUnwindSafe,
P: RefUnwindSafe,
impl<C, P> Send for EtagCacheLayer<C, P>
impl<C, P> Sync for EtagCacheLayer<C, P>
impl<C, P> Unpin for EtagCacheLayer<C, P>
impl<C, P> UnwindSafe for EtagCacheLayer<C, P>where
C: UnwindSafe,
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