pub enum RuleType {
Whitelist,
Blacklist,
Greylist,
}Expand description
Rule type for categorization
Variants§
Whitelist
Whitelist - only allow explicitly listed commands
Blacklist
Blacklist - deny explicitly listed commands
Greylist
Greylist - require confirmation for commands
Trait Implementations§
impl Copy for RuleType
impl Eq for RuleType
impl StructuralPartialEq for RuleType
Auto Trait Implementations§
impl Freeze for RuleType
impl RefUnwindSafe for RuleType
impl Send for RuleType
impl Sync for RuleType
impl Unpin for RuleType
impl UnsafeUnpin for RuleType
impl UnwindSafe for RuleType
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