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 · 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
Source§impl PartialEq for ModuleRole
impl PartialEq for ModuleRole
impl Eq for ModuleRole
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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more