pub enum AccountSessionState {
SignedOut,
Authenticated,
OfflineCached,
Expired,
Revoked,
}Expand description
Normalized account states exposed by the token-free Runtime API contract.
Variants§
SignedOut
No valid secure-store session was found for the selected profile/origin.
Authenticated
The cached session and access credential are within their recorded lifetime.
OfflineCached
Durable identity remains cached, but the access credential has expired.
Expired
The durable refresh/session lifetime has ended.
Revoked
The stored session carries an explicit revocation receipt.
Trait Implementations§
Source§impl Clone for AccountSessionState
impl Clone for AccountSessionState
Source§fn clone(&self) -> AccountSessionState
fn clone(&self) -> AccountSessionState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AccountSessionState
Source§impl Debug for AccountSessionState
impl Debug for AccountSessionState
impl Eq for AccountSessionState
Source§impl PartialEq for AccountSessionState
impl PartialEq for AccountSessionState
Source§impl Serialize for AccountSessionState
impl Serialize for AccountSessionState
impl StructuralPartialEq for AccountSessionState
Auto Trait Implementations§
impl Freeze for AccountSessionState
impl RefUnwindSafe for AccountSessionState
impl Send for AccountSessionState
impl Sync for AccountSessionState
impl Unpin for AccountSessionState
impl UnsafeUnpin for AccountSessionState
impl UnwindSafe for AccountSessionState
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