Enum pfctl::RedirectRuleAction
source · pub enum RedirectRuleAction {
Redirect,
NoRedirect,
}
Expand description
Enum describing what should happen to a packet that matches a redirect rule.
Variants§
Trait Implementations§
source§impl Clone for RedirectRuleAction
impl Clone for RedirectRuleAction
source§fn clone(&self) -> RedirectRuleAction
fn clone(&self) -> RedirectRuleAction
Returns a copy 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 RedirectRuleAction
impl Debug for RedirectRuleAction
source§impl From<RedirectRuleAction> for u8
impl From<RedirectRuleAction> for u8
source§fn from(rule_action: RedirectRuleAction) -> Self
fn from(rule_action: RedirectRuleAction) -> Self
Converts to this type from the input type.
source§impl Hash for RedirectRuleAction
impl Hash for RedirectRuleAction
source§impl PartialEq for RedirectRuleAction
impl PartialEq for RedirectRuleAction
impl Copy for RedirectRuleAction
impl Eq for RedirectRuleAction
impl StructuralPartialEq for RedirectRuleAction
Auto Trait Implementations§
impl Freeze for RedirectRuleAction
impl RefUnwindSafe for RedirectRuleAction
impl Send for RedirectRuleAction
impl Sync for RedirectRuleAction
impl Unpin for RedirectRuleAction
impl UnwindSafe for RedirectRuleAction
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)