pub enum RuleKind {
Accept,
Reject,
}
Expand description
A kind of policy rule: either accepts or rejects addresses matching a pattern.
Variants
Accept
A rule that accepts matching address:port combinations.
Reject
A rule that rejects matching address:port combinations.
Trait Implementations
impl Copy for RuleKind
impl Eq for RuleKind
impl StructuralEq for RuleKind
impl StructuralPartialEq for RuleKind
Auto Trait Implementations
impl RefUnwindSafe for RuleKind
impl Send for RuleKind
impl Sync for RuleKind
impl Unpin for RuleKind
impl UnwindSafe for RuleKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more