pub struct CookieSession;Trait Implementations§
Source§impl AsyncMiddleware<HttpReqCtx> for CookieSession
impl AsyncMiddleware<HttpReqCtx> for CookieSession
fn as_any(&self) -> &dyn Any
Source§fn return_self() -> Selfwhere
Self: Sized,
fn return_self() -> Selfwhere
Self: Sized,
Used when creating the mddleware
fn handle<'a>( &'a self, context: HttpReqCtx, next: Box<dyn Fn(HttpReqCtx) -> Pin<Box<dyn Future<Output = HttpReqCtx> + Send>> + Send + Sync + 'static>, ) -> Pin<Box<dyn Future<Output = HttpReqCtx> + Send + 'static>>
Auto Trait Implementations§
impl Freeze for CookieSession
impl RefUnwindSafe for CookieSession
impl Send for CookieSession
impl Sync for CookieSession
impl Unpin for CookieSession
impl UnwindSafe for CookieSession
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