#[non_exhaustive]pub enum RbacDecision {
Allow,
Deny,
}Expand description
Result of an RBAC policy check.
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.
Trait Implementations§
Source§impl Clone for RbacDecision
impl Clone for RbacDecision
Source§fn clone(&self) -> RbacDecision
fn clone(&self) -> RbacDecision
Returns a duplicate of the value. Read more
1.0.0 · 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 RbacDecision
impl Debug for RbacDecision
Source§impl PartialEq for RbacDecision
impl PartialEq for RbacDecision
impl Copy for RbacDecision
impl Eq for RbacDecision
impl StructuralPartialEq for RbacDecision
Auto Trait Implementations§
impl Freeze for RbacDecision
impl RefUnwindSafe for RbacDecision
impl Send for RbacDecision
impl Sync for RbacDecision
impl Unpin for RbacDecision
impl UnsafeUnpin for RbacDecision
impl UnwindSafe for RbacDecision
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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