#[non_exhaustive]pub enum PasRefreshOutcome {
Refreshed {
tokens: TokenResponse,
},
Rejected {
status: u16,
detail: String,
},
Transient {
detail: String,
},
}Expand description
Outcome of one PAS-refresh round-trip, before any S-L3 / S-L6
policy is applied. Callers convert this into the policy-shaped
outcome (LivenessOutcome for S-L3, SessionResolution for S-L6).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Refreshed
PAS confirmed liveness. tokens is what to mint sessions from
(consumers re-encrypt tokens.refresh_token if Some; sv
callers also call [PasAuthPort::userinfo] to read sv).
Fields
§
tokens: TokenResponseRejected
PAS gave a definitive 4xx — the token is dead.
Transient
PAS unreachable, degraded, or transport blip / parse failure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PasRefreshOutcome
impl RefUnwindSafe for PasRefreshOutcome
impl Send for PasRefreshOutcome
impl Sync for PasRefreshOutcome
impl Unpin for PasRefreshOutcome
impl UnsafeUnpin for PasRefreshOutcome
impl UnwindSafe for PasRefreshOutcome
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