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
sourceimpl Debug for ReadableSession
impl Debug for ReadableSession
sourceimpl Deref for ReadableSession
impl Deref for ReadableSession
sourceimpl<B> FromRequest<B> for ReadableSessionwhere
B: Send,
impl<B> FromRequest<B> for ReadableSessionwhere
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 ReadableSession
impl Send for ReadableSession
impl Sync for ReadableSession
impl Unpin for ReadableSession
impl !UnwindSafe for ReadableSession
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