pub struct AutoVaryMiddleware<S> { /* private fields */ }Available on crate feature
auto-vary only.Expand description
Tower service for AutoVaryLayer
Trait Implementations§
Source§impl<S: Clone> Clone for AutoVaryMiddleware<S>
impl<S: Clone> Clone for AutoVaryMiddleware<S>
Source§fn clone(&self) -> AutoVaryMiddleware<S>
fn clone(&self) -> AutoVaryMiddleware<S>
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<S> Service<Request<Body>> for AutoVaryMiddleware<S>
impl<S> Service<Request<Body>> for AutoVaryMiddleware<S>
Source§type Future = Pin<Box<dyn Future<Output = Result<<AutoVaryMiddleware<S> as Service<Request<Body>>>::Response, <AutoVaryMiddleware<S> as Service<Request<Body>>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<AutoVaryMiddleware<S> as Service<Request<Body>>>::Response, <AutoVaryMiddleware<S> as Service<Request<Body>>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl<S> Freeze for AutoVaryMiddleware<S>where
S: Freeze,
impl<S> RefUnwindSafe for AutoVaryMiddleware<S>where
S: RefUnwindSafe,
impl<S> Send for AutoVaryMiddleware<S>where
S: Send,
impl<S> Sync for AutoVaryMiddleware<S>where
S: Sync,
impl<S> Unpin for AutoVaryMiddleware<S>where
S: Unpin,
impl<S> UnwindSafe for AutoVaryMiddleware<S>where
S: 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