pub enum ShadowTableAccess {
Allow,
Deny,
}Expand description
Access decision for a shadow-table operation class.
Variants§
Allow
The operation is permitted by the module policy.
Deny
The operation is rejected by the module policy.
Implementations§
Source§impl ShadowTableAccess
impl ShadowTableAccess
Sourcepub const fn is_allowed(self) -> bool
pub const fn is_allowed(self) -> bool
Whether the access decision permits the operation.
Trait Implementations§
Source§impl Clone for ShadowTableAccess
impl Clone for ShadowTableAccess
Source§fn clone(&self) -> ShadowTableAccess
fn clone(&self) -> ShadowTableAccess
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 ShadowTableAccess
impl Debug for ShadowTableAccess
Source§impl Default for ShadowTableAccess
impl Default for ShadowTableAccess
Source§fn default() -> ShadowTableAccess
fn default() -> ShadowTableAccess
Returns the “default value” for a type. Read more
Source§impl PartialEq for ShadowTableAccess
impl PartialEq for ShadowTableAccess
Source§fn eq(&self, other: &ShadowTableAccess) -> bool
fn eq(&self, other: &ShadowTableAccess) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ShadowTableAccess
impl Eq for ShadowTableAccess
impl StructuralPartialEq for ShadowTableAccess
Auto Trait Implementations§
impl Freeze for ShadowTableAccess
impl RefUnwindSafe for ShadowTableAccess
impl Send for ShadowTableAccess
impl Sync for ShadowTableAccess
impl Unpin for ShadowTableAccess
impl UnsafeUnpin for ShadowTableAccess
impl UnwindSafe for ShadowTableAccess
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