#[non_exhaustive]pub enum AccompanimentOutcome {
NotEvaluated,
NotRequired,
Satisfied,
Waiting {
presentation: u64,
},
DeniedNoCompanion,
DeniedIncorrectCompanion {
presentation: u64,
},
Unresolved(AccompanimentProblem),
}Expand description
The accompaniment stage, never a whole-request authorization decision.
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.
NotEvaluated
Original rights denied; accompaniment was not evaluated.
NotRequired
Original rights are exempt, or their selected object has no requirement.
Satisfied
The required local chain is established. Authentication, credential status and every other authorization criterion remain outside this stage.
Waiting
A dependency is waiting within its period. No denial intent is emitted.
DeniedNoCompanion
The original transaction’s own wait expired without an eligible companion.
DeniedIncorrectCompanion
A known invalid attempt or child dependency invalidates the original’s companion. Only the original transaction receives the denial intent.
Unresolved(AccompanimentProblem)
Local evidence is insufficient; no terminal event is inferred.
Trait Implementations§
Source§impl Clone for AccompanimentOutcome
impl Clone for AccompanimentOutcome
Source§impl Debug for AccompanimentOutcome
impl Debug for AccompanimentOutcome
impl Eq for AccompanimentOutcome
Source§impl PartialEq for AccompanimentOutcome
impl PartialEq for AccompanimentOutcome
impl StructuralPartialEq for AccompanimentOutcome
Auto Trait Implementations§
impl Freeze for AccompanimentOutcome
impl RefUnwindSafe for AccompanimentOutcome
impl Send for AccompanimentOutcome
impl Sync for AccompanimentOutcome
impl Unpin for AccompanimentOutcome
impl UnsafeUnpin for AccompanimentOutcome
impl UnwindSafe for AccompanimentOutcome
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