pub enum Outcome {
Granted,
Denied,
Restricted,
}Expand description
What an access check decided (§8.4.3.2).
Variants§
Granted
The subject may proceed.
Denied
“If the outcome is AccessDenied, an AttributeStatusIB SHALL be generated with the UNSUPPORTED_ACCESS Status Code.”
Restricted
“Else if the outcome is AccessRestricted, an AttributeStatusIB SHALL be generated with the ACCESS_RESTRICTED Status Code” — an Access Restriction List (§6.6.3).
Implementations§
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Forget for Outcome
impl Freeze for Outcome
impl Move for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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