pub struct NoCacheMiddleware;Trait Implementations§
Source§impl Default for NoCacheMiddleware
impl Default for NoCacheMiddleware
Source§fn default() -> NoCacheMiddleware
fn default() -> NoCacheMiddleware
Returns the “default value” for a type. Read more
Source§impl<E: Endpoint> Middleware<E> for NoCacheMiddleware
impl<E: Endpoint> Middleware<E> for NoCacheMiddleware
Source§type Output = NoCacheEndpoint<E>
type Output = NoCacheEndpoint<E>
New endpoint type. Read more
Source§fn combine<T>(self, other: T) -> CombineMiddleware<Self, T, E>
fn combine<T>(self, other: T) -> CombineMiddleware<Self, T, E>
Create a new middleware by combining two middlewares. Read more
Source§fn combine_if<T>(
self,
enable: bool,
other: T,
) -> EitherMiddleware<Self, CombineMiddleware<Self, T, E>, E>
fn combine_if<T>( self, enable: bool, other: T, ) -> EitherMiddleware<Self, CombineMiddleware<Self, T, E>, E>
Auto Trait Implementations§
impl Freeze for NoCacheMiddleware
impl RefUnwindSafe for NoCacheMiddleware
impl Send for NoCacheMiddleware
impl Sync for NoCacheMiddleware
impl Unpin for NoCacheMiddleware
impl UnwindSafe for NoCacheMiddleware
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