pub enum ModuleRole {
FrozenKernel,
AdapterOnly,
Regular,
}Expand description
Role assigned to a module in a boundary audit.
Variants§
FrozenKernel
Read-only kernel module whose predicates cannot be mutated by adapters.
AdapterOnly
Adapter module that may add facts but not learned/core rules.
Regular
Unrestricted module.
Trait Implementations§
Source§impl Clone for ModuleRole
impl Clone for ModuleRole
Source§fn clone(&self) -> ModuleRole
fn clone(&self) -> ModuleRole
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 ModuleRole
impl Debug for ModuleRole
impl Eq for ModuleRole
Source§impl PartialEq for ModuleRole
impl PartialEq for ModuleRole
Source§fn eq(&self, other: &ModuleRole) -> bool
fn eq(&self, other: &ModuleRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModuleRole
Auto Trait Implementations§
impl Freeze for ModuleRole
impl RefUnwindSafe for ModuleRole
impl Send for ModuleRole
impl Sync for ModuleRole
impl Unpin for ModuleRole
impl UnsafeUnpin for ModuleRole
impl UnwindSafe for ModuleRole
Blanket Implementations§
impl<T> Allocation for T
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