pub enum LivenessOutcome {
Fresh {
rotated_ciphertext: Option<String>,
},
Failed(LivenessFailure),
}Expand description
Outcome of a single PAS liveness round-trip.
Variants§
Fresh
Session reconfirmed against PAS. If rotated_ciphertext is
Some(ct), persist that as the new ciphertext (PAS rotated).
If None, the existing ciphertext remains valid. Always
update last_verified_at.
Failed(LivenessFailure)
See LivenessFailure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LivenessOutcome
impl RefUnwindSafe for LivenessOutcome
impl Send for LivenessOutcome
impl Sync for LivenessOutcome
impl Unpin for LivenessOutcome
impl UnsafeUnpin for LivenessOutcome
impl UnwindSafe for LivenessOutcome
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