pub enum SecretDomain {
Code,
Session,
FormToken,
FlowTicket,
}Expand description
The role a secret plays. Part of the HMAC message, so it cross-namespaces lookup keys (RFC-004 §12.1).
Variants§
Code
One-time code lookup.
Session
Session secret lookup.
FormToken
Form-token lookup.
FlowTicket
Pre-auth flow / join-ticket lookup.
Implementations§
Trait Implementations§
Source§impl Clone for SecretDomain
impl Clone for SecretDomain
Source§fn clone(&self) -> SecretDomain
fn clone(&self) -> SecretDomain
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 SecretDomain
Source§impl Debug for SecretDomain
impl Debug for SecretDomain
impl Eq for SecretDomain
Source§impl Hash for SecretDomain
impl Hash for SecretDomain
Source§impl PartialEq for SecretDomain
impl PartialEq for SecretDomain
Source§fn eq(&self, other: &SecretDomain) -> bool
fn eq(&self, other: &SecretDomain) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SecretDomain
Auto Trait Implementations§
impl Freeze for SecretDomain
impl RefUnwindSafe for SecretDomain
impl Send for SecretDomain
impl Sync for SecretDomain
impl Unpin for SecretDomain
impl UnsafeUnpin for SecretDomain
impl UnwindSafe for SecretDomain
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