pub struct CookieManagerLayer { /* private fields */ }Expand description
Layer to apply CookieManager middleware.
Implementations§
Source§impl CookieManagerLayer
impl CookieManagerLayer
Sourcepub fn new() -> CookieManagerLayer
pub fn new() -> CookieManagerLayer
Create a new cookie manager layer.
Trait Implementations§
Source§impl Clone for CookieManagerLayer
impl Clone for CookieManagerLayer
Source§fn clone(&self) -> CookieManagerLayer
fn clone(&self) -> CookieManagerLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CookieManagerLayer
impl Debug for CookieManagerLayer
Source§impl Default for CookieManagerLayer
impl Default for CookieManagerLayer
Source§fn default() -> CookieManagerLayer
fn default() -> CookieManagerLayer
Returns the “default value” for a type. Read more
Source§impl<S> Layer<S> for CookieManagerLayer
impl<S> Layer<S> for CookieManagerLayer
Source§type Service = CookieManager<S>
type Service = CookieManager<S>
The wrapped service
Auto Trait Implementations§
impl Freeze for CookieManagerLayer
impl RefUnwindSafe for CookieManagerLayer
impl Send for CookieManagerLayer
impl Sync for CookieManagerLayer
impl Unpin for CookieManagerLayer
impl UnsafeUnpin for CookieManagerLayer
impl UnwindSafe for CookieManagerLayer
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