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 Clone for FirewallDirection
impl Clone for FirewallDirection
Source§fn clone(&self) -> FirewallDirection
fn clone(&self) -> FirewallDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FirewallDirection
impl Debug for FirewallDirection
Source§impl Display for FirewallDirection
impl Display for FirewallDirection
impl Eq for FirewallDirection
Source§impl PartialEq for FirewallDirection
impl PartialEq for FirewallDirection
Source§fn eq(&self, other: &FirewallDirection) -> bool
fn eq(&self, other: &FirewallDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FirewallDirection
Source§impl ToSql for FirewallDirection
impl ToSql for FirewallDirection
Source§fn to_sql(&self) -> Result<ToSqlOutput<'_>>
fn to_sql(&self) -> Result<ToSqlOutput<'_>>
Converts Rust value to SQLite value
Auto Trait Implementations§
impl Freeze for FirewallDirection
impl RefUnwindSafe for FirewallDirection
impl Send for FirewallDirection
impl Sync for FirewallDirection
impl Unpin for FirewallDirection
impl UnsafeUnpin 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