pub enum CredentialUseDisposition {
Authorized,
RefreshRequired,
RefreshDisallowed,
ReauthRequired,
LeaseAbsent,
AlreadyRefreshing,
}Expand description
Machine-owned credential-use disposition verdict the resolver shell mirrors rather than deciding.
Variants§
Authorized
Credential may be used / lifecycle authority is held.
RefreshRequired
Caller must refresh first (BeginRefresh callers fire begin_refresh).
RefreshDisallowed
A refresh is required to proceed but the binding’s config does not
permit silent refresh (allow_refresh == false); the caller
surfaces a refresh-required error instead of beginning a refresh.
ReauthRequired
Interactive user reauthorization is required.
LeaseAbsent
No usable lease is present.
AlreadyRefreshing
A refresh is already in flight; the begin-refresh caller no-ops.
Trait Implementations§
Source§impl Clone for CredentialUseDisposition
impl Clone for CredentialUseDisposition
Source§fn clone(&self) -> CredentialUseDisposition
fn clone(&self) -> CredentialUseDisposition
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 CredentialUseDisposition
Source§impl Debug for CredentialUseDisposition
impl Debug for CredentialUseDisposition
impl Eq for CredentialUseDisposition
Source§impl PartialEq for CredentialUseDisposition
impl PartialEq for CredentialUseDisposition
Source§fn eq(&self, other: &CredentialUseDisposition) -> bool
fn eq(&self, other: &CredentialUseDisposition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CredentialUseDisposition
Auto Trait Implementations§
impl Freeze for CredentialUseDisposition
impl RefUnwindSafe for CredentialUseDisposition
impl Send for CredentialUseDisposition
impl Sync for CredentialUseDisposition
impl Unpin for CredentialUseDisposition
impl UnsafeUnpin for CredentialUseDisposition
impl UnwindSafe for CredentialUseDisposition
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
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.