pub enum AuthGateDecision {
Gate(PreconditionBlock),
DoNotGate,
NoAuthInvolvement,
}Expand description
Result of the auth-gate decision. Three states matter: gate, do-not-gate (preserve evidence), and no-auth-involvement (continue to other gates).
Variants§
Gate(PreconditionBlock)
Both sides classified equivalently — downgrade Contradictory to Inapplicable.
DoNotGate
At least one side has auth involvement and a differential exists. Preserve as evidence.
NoAuthInvolvement
Neither side has auth involvement. Other gates may still apply.
Trait Implementations§
Source§impl Clone for AuthGateDecision
impl Clone for AuthGateDecision
Source§fn clone(&self) -> AuthGateDecision
fn clone(&self) -> AuthGateDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthGateDecision
impl Debug for AuthGateDecision
Source§impl PartialEq for AuthGateDecision
impl PartialEq for AuthGateDecision
Source§fn eq(&self, other: &AuthGateDecision) -> bool
fn eq(&self, other: &AuthGateDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthGateDecision
impl StructuralPartialEq for AuthGateDecision
Auto Trait Implementations§
impl Freeze for AuthGateDecision
impl RefUnwindSafe for AuthGateDecision
impl Send for AuthGateDecision
impl Sync for AuthGateDecision
impl Unpin for AuthGateDecision
impl UnsafeUnpin for AuthGateDecision
impl UnwindSafe for AuthGateDecision
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
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
Compare self to
key and return true if they are equal.