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.
Auto Trait Implementationsยง
impl !RefUnwindSafe for WritableSession
impl Send for WritableSession
impl Sync for WritableSession
impl Unpin for WritableSession
impl !UnwindSafe for WritableSession
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