Enum poem::session::SessionStatus [−][src]
pub enum SessionStatus {
Changed,
Purged,
Renewed,
Unchanged,
}
This is supported on crate feature
session
only.Expand description
Status of the Session.
Variants
Changed
Indicates that the session state has changed.
Purged
Indicates that the session state needs to be cleared.
Renewed
Indicates that the session TTL(time-to-live) needs to be reset.
Unchanged
Indicates that the session state is unchanged.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SessionStatus
impl Send for SessionStatus
impl Sync for SessionStatus
impl Unpin for SessionStatus
impl UnwindSafe for SessionStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more