pub enum EnrollmentTokenPhase<'a, EF, V, LF> {
Unmapped,
LiveReceipt {
identity: ResolvedIdentity<'a, EF, V, LF>,
receipt: &'a EnrollmentLiveReceipt,
},
Provenance {
identity: ResolvedIdentity<'a, EF, V, LF>,
provenance: EnrollmentProvenance,
},
LifetimeMapping {
identity: ResolvedIdentity<'a, EF, V, LF>,
},
}Expand description
Phase-specific enrollment-token lookup state after the lifetime token index has run.
Variants§
Unmapped
No lifetime mapping exists; enrollment may run its remaining checks.
LiveReceipt
The exact secret-bearing receipt remains live.
Fields
§
identity: ResolvedIdentity<'a, EF, V, LF>Participant resolved by the enrollment token.
§
receipt: &'a EnrollmentLiveReceiptStored canonical commit payload.
Provenance
Only exact-reason non-secret provenance remains.
Fields
§
identity: ResolvedIdentity<'a, EF, V, LF>Participant resolved by the enrollment token.
§
provenance: EnrollmentProvenanceStored provenance fields.
LifetimeMapping
The permanent lifetime mapping remains after receipt provenance.
Fields
§
identity: ResolvedIdentity<'a, EF, V, LF>Participant resolved by the enrollment token.
Trait Implementations§
Source§impl<EF, V, LF> Clone for EnrollmentTokenPhase<'_, EF, V, LF>
impl<EF, V, LF> Clone for EnrollmentTokenPhase<'_, EF, V, LF>
impl<EF, V, LF> Copy for EnrollmentTokenPhase<'_, EF, V, LF>
Auto Trait Implementations§
impl<'a, EF, V, LF> Freeze for EnrollmentTokenPhase<'a, EF, V, LF>
impl<'a, EF, V, LF> RefUnwindSafe for EnrollmentTokenPhase<'a, EF, V, LF>
impl<'a, EF, V, LF> Send for EnrollmentTokenPhase<'a, EF, V, LF>
impl<'a, EF, V, LF> Sync for EnrollmentTokenPhase<'a, EF, V, LF>
impl<'a, EF, V, LF> Unpin for EnrollmentTokenPhase<'a, EF, V, LF>
impl<'a, EF, V, LF> UnsafeUnpin for EnrollmentTokenPhase<'a, EF, V, LF>
impl<'a, EF, V, LF> UnwindSafe for EnrollmentTokenPhase<'a, EF, V, LF>
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