Struct poem::session::ServerSession
source · [−]pub struct ServerSession<T> { /* private fields */ }
This is supported on crate feature
session
only.Expand description
Middleware for server-side session.
Implementations
Create a ServerSession
middleware.
Trait Implementations
type Output = CookieJarManagerEndpoint<ServerSessionEndpoint<T, E>>
type Output = CookieJarManagerEndpoint<ServerSessionEndpoint<T, E>>
New endpoint type. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for ServerSession<T> where
T: RefUnwindSafe,
impl<T> Send for ServerSession<T> where
T: Send + Sync,
impl<T> Sync for ServerSession<T> where
T: Send + Sync,
impl<T> Unpin for ServerSession<T>
impl<T> UnwindSafe for ServerSession<T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more