Struct axum_sessions::extractors::ReadableSession
source ยท pub struct ReadableSession { /* private fields */ }
Expand description
An extractor which provides a readable session. Sessions may have many readers.
Trait Implementationsยง
sourceยงimpl Debug for ReadableSession
impl Debug for ReadableSession
sourceยงimpl Deref for ReadableSession
impl Deref for ReadableSession
sourceยงimpl<S> FromRequestParts<S> for ReadableSessionwhere
S: Send + Sync,
impl<S> FromRequestParts<S> for ReadableSessionwhere 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 ReadableSession
impl Send for ReadableSession
impl Sync for ReadableSession
impl Unpin for ReadableSession
impl !UnwindSafe for ReadableSession
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