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
sourceimpl Debug for WritableSession
impl Debug for WritableSession
sourceimpl Deref for WritableSession
impl Deref for WritableSession
sourceimpl DerefMut for WritableSession
impl DerefMut for WritableSession
sourceimpl<B> FromRequest<B> for WritableSessionwhere
B: Send,
impl<B> FromRequest<B> for WritableSessionwhere
B: Send,
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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more