pub struct CacheControlLayer { /* private fields */ }
Expand description
Middleware Layer for the CacheControlService service.
Implementations§
Source§impl CacheControlLayer
impl CacheControlLayer
pub fn new(header: CacheControl) -> Self
Trait Implementations§
Source§impl Clone for CacheControlLayer
impl Clone for CacheControlLayer
Source§fn clone(&self) -> CacheControlLayer
fn clone(&self) -> CacheControlLayer
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 Debug for CacheControlLayer
impl Debug for CacheControlLayer
Source§impl Default for CacheControlLayer
impl Default for CacheControlLayer
Source§impl<S> Layer<S> for CacheControlLayer
impl<S> Layer<S> for CacheControlLayer
Auto Trait Implementations§
impl Freeze for CacheControlLayer
impl RefUnwindSafe for CacheControlLayer
impl Send for CacheControlLayer
impl Sync for CacheControlLayer
impl Unpin for CacheControlLayer
impl UnwindSafe for CacheControlLayer
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