pub enum FirewallDirection {
IN,
OUT,
}Expand description
Direction of a firewall rule.
Each firewall rule is associated to a given direction.
Variants§
Trait Implementations§
source§impl Debug for FirewallDirection
impl Debug for FirewallDirection
source§impl Display for FirewallDirection
impl Display for FirewallDirection
source§impl FromStr for FirewallDirection
impl FromStr for FirewallDirection
source§impl PartialEq for FirewallDirection
impl PartialEq for FirewallDirection
source§fn eq(&self, other: &FirewallDirection) -> bool
fn eq(&self, other: &FirewallDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for FirewallDirection
impl StructuralEq for FirewallDirection
impl StructuralPartialEq for FirewallDirection
Auto Trait Implementations§
impl RefUnwindSafe for FirewallDirection
impl Send for FirewallDirection
impl Sync for FirewallDirection
impl Unpin for FirewallDirection
impl UnwindSafe for FirewallDirection
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