#[non_exhaustive]pub enum TransientCause {
PasServerError,
CipherEncryptFailed,
}Expand description
Why a liveness attempt was classified transient.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PasServerError
PAS is unreachable: a 5xx response, an HTTP transport failure (timeout, TLS, DNS, connect), or a 2xx body that failed to parse (CDN/proxy interference). All three categories are indistinguishable at the policy level (S-L3 serves cache for every one of them) — the variant name is a deliberate simplification carried over from v3 where each had a separate cause variant; v5.0 merged them.
Detail strings carrying the underlying
PasFailure::Transport
or
PasFailure::ServerError
message are not exposed here — consumers needing that level of
diagnostic should implement
PasAuthPort and log inside the
adapter.
CipherEncryptFailed
Re-encrypting a rotated refresh_token failed after PAS already confirmed liveness. Local infrastructure issue; the previously stored ciphertext remains valid.
Trait Implementations§
Source§impl Clone for TransientCause
impl Clone for TransientCause
Source§fn clone(&self) -> TransientCause
fn clone(&self) -> TransientCause
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for TransientCause
Source§impl Debug for TransientCause
impl Debug for TransientCause
impl Eq for TransientCause
Source§impl PartialEq for TransientCause
impl PartialEq for TransientCause
impl StructuralPartialEq for TransientCause
Auto Trait Implementations§
impl Freeze for TransientCause
impl RefUnwindSafe for TransientCause
impl Send for TransientCause
impl Sync for TransientCause
impl Unpin for TransientCause
impl UnsafeUnpin for TransientCause
impl UnwindSafe for TransientCause
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
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
key and return true if they are equal.