pub enum ConditionOutcome {
Satisfied,
NotApplicable,
Denied,
}Expand description
Outcome of evaluating a single acl:condition predicate.
Variants§
Satisfied
Predicate holds for the current request.
NotApplicable
Server cannot dispatch (unknown condition type / no evaluator). Fail-closed: the host authorisation does NOT grant.
Denied
Predicate explicitly does not hold.
Trait Implementations§
Source§impl Clone for ConditionOutcome
impl Clone for ConditionOutcome
Source§fn clone(&self) -> ConditionOutcome
fn clone(&self) -> ConditionOutcome
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 ConditionOutcome
impl Debug for ConditionOutcome
Source§impl Hash for ConditionOutcome
impl Hash for ConditionOutcome
Source§impl PartialEq for ConditionOutcome
impl PartialEq for ConditionOutcome
Source§fn eq(&self, other: &ConditionOutcome) -> bool
fn eq(&self, other: &ConditionOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ConditionOutcome
impl Eq for ConditionOutcome
impl StructuralPartialEq for ConditionOutcome
Auto Trait Implementations§
impl Freeze for ConditionOutcome
impl RefUnwindSafe for ConditionOutcome
impl Send for ConditionOutcome
impl Sync for ConditionOutcome
impl Unpin for ConditionOutcome
impl UnsafeUnpin for ConditionOutcome
impl UnwindSafe for ConditionOutcome
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