pub enum TokenEncoding {
Absent,
Plain,
LegacyNative,
Source,
}Expand description
Operator-provided classification, never inferred from stored text.
Variants§
Absent
SQL NULL; must match an absent observed value.
Plain
Known plaintext from trusted installation history.
LegacyNative
Native AES-GCM/HKDF/standard-base64 format from before Source alignment.
Source
Current Source format (including a configured managed-secret envelope). Valid only for access and refresh tokens; authenticated and retained.
Trait Implementations§
Source§impl Clone for TokenEncoding
impl Clone for TokenEncoding
impl Copy for TokenEncoding
Source§impl Debug for TokenEncoding
impl Debug for TokenEncoding
impl Eq for TokenEncoding
Source§impl PartialEq for TokenEncoding
impl PartialEq for TokenEncoding
impl StructuralPartialEq for TokenEncoding
Auto Trait Implementations§
impl Freeze for TokenEncoding
impl RefUnwindSafe for TokenEncoding
impl Send for TokenEncoding
impl Sync for TokenEncoding
impl Unpin for TokenEncoding
impl UnsafeUnpin for TokenEncoding
impl UnwindSafe for TokenEncoding
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.