pub enum SessionRead {
Cached,
Authoritative,
}Expand description
Select whether an authentication check may use a cookie cache.
Variants§
Cached
Allow a valid signed cookie cache.
Authoritative
Read the session from the server store, for sensitive operations.
Trait Implementations§
Source§impl Clone for SessionRead
impl Clone for SessionRead
impl Copy for SessionRead
Auto Trait Implementations§
impl Freeze for SessionRead
impl RefUnwindSafe for SessionRead
impl Send for SessionRead
impl Sync for SessionRead
impl Unpin for SessionRead
impl UnsafeUnpin for SessionRead
impl UnwindSafe for SessionRead
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