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 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 FirewallDirection
impl Debug for FirewallDirection
source§impl Display for FirewallDirection
impl Display for FirewallDirection
source§impl FromSql for FirewallDirection
impl FromSql for FirewallDirection
source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
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 ==.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
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more