pub enum RevokeSessionScope {
CurrentSession,
SessionFamily,
}Expand description
Scope used when revoking session state.
Variants§
CurrentSession
Revoke only the current session.
SessionFamily
Revoke every session in the same family.
Trait Implementations§
Source§impl Clone for RevokeSessionScope
impl Clone for RevokeSessionScope
Source§fn clone(&self) -> RevokeSessionScope
fn clone(&self) -> RevokeSessionScope
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 moreSource§impl Debug for RevokeSessionScope
impl Debug for RevokeSessionScope
Source§impl PartialEq for RevokeSessionScope
impl PartialEq for RevokeSessionScope
Source§fn eq(&self, other: &RevokeSessionScope) -> bool
fn eq(&self, other: &RevokeSessionScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RevokeSessionScope
impl Eq for RevokeSessionScope
impl StructuralPartialEq for RevokeSessionScope
Auto Trait Implementations§
impl Freeze for RevokeSessionScope
impl RefUnwindSafe for RevokeSessionScope
impl Send for RevokeSessionScope
impl Sync for RevokeSessionScope
impl Unpin for RevokeSessionScope
impl UnsafeUnpin for RevokeSessionScope
impl UnwindSafe for RevokeSessionScope
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