Struct axum_sessions::extractors::WritableSession
source ยท pub struct WritableSession { /* private fields */ }
Expand description
An extractor which provides a writable session. Sessions may have only one writer.
Trait Implementationsยง
sourceยงimpl Debug for WritableSession
impl Debug for WritableSession
sourceยงimpl Deref for WritableSession
impl Deref for WritableSession
sourceยงimpl DerefMut for WritableSession
impl DerefMut for WritableSession
sourceยงimpl<S> FromRequestParts<S> for WritableSessionwhere
S: Send + Sync,
impl<S> FromRequestParts<S> for WritableSessionwhere
S: Send + Sync,
ยงtype Rejection = Infallible
type Rejection = Infallible
If the extractor fails itโll use this โrejectionโ type. A rejection is
a kind of error that can be converted into a response. Read more