pub enum CheckVerdict {
Allowed,
Denied(CapabilityDenied),
}Expand description
Fresh result of checking one consuming act.
Variants§
Allowed
An active grant covered the act at check time.
Denied(CapabilityDenied)
No active grant covered the act at check time.
Trait Implementations§
Source§impl Clone for CheckVerdict
impl Clone for CheckVerdict
Source§fn clone(&self) -> CheckVerdict
fn clone(&self) -> CheckVerdict
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 CheckVerdict
impl Debug for CheckVerdict
Source§impl<'de> Deserialize<'de> for CheckVerdict
impl<'de> Deserialize<'de> for CheckVerdict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CheckVerdict
Source§impl PartialEq for CheckVerdict
impl PartialEq for CheckVerdict
Source§impl Serialize for CheckVerdict
impl Serialize for CheckVerdict
impl StructuralPartialEq for CheckVerdict
Auto Trait Implementations§
impl Freeze for CheckVerdict
impl RefUnwindSafe for CheckVerdict
impl Send for CheckVerdict
impl Sync for CheckVerdict
impl Unpin for CheckVerdict
impl UnsafeUnpin for CheckVerdict
impl UnwindSafe for CheckVerdict
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