pub enum SessionStatus {
Changed,
Purged,
Renewed,
Unchanged,
}Expand description
Status of the session after the request is handled.
Returned by Session::get_changes, backends use it to decide how to
update the client.
Variants§
Changed
A call to Session::set, Session::remove, or Session::clear
marked the state changed, even if it did not alter any stored value.
Purged
Session was purged, the backend should remove it.
Renewed
Session was renewed, the backend should re-issue it with the existing state.
Unchanged
Session was not modified.
Trait Implementations§
Source§impl Clone for SessionStatus
impl Clone for SessionStatus
Source§impl Debug for SessionStatus
impl Debug for SessionStatus
Source§impl Default for SessionStatus
impl Default for SessionStatus
Source§impl PartialEq for SessionStatus
impl PartialEq for SessionStatus
impl StructuralPartialEq for SessionStatus
Auto Trait Implementations§
impl Forget for SessionStatus
impl Freeze for SessionStatus
impl RefUnwindSafe for SessionStatus
impl Send for SessionStatus
impl Sync for SessionStatus
impl Unpin for SessionStatus
impl UnsafeUnpin for SessionStatus
impl UnwindSafe for SessionStatus
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