pub enum ChainType {
Filter,
Route,
Nat,
}Expand description
Base chain type.
Variants§
Filter
Used to filter packets. Supported protocols: ip, ip6, inet, arp, and bridge tables.
Route
Used to reroute packets if IP headers or packet marks are modified. Supported protocols: ip, and ip6 tables.
Nat
Used to perform NAT. Supported protocols: ip, and ip6 tables.
Trait Implementations§
impl Copy for ChainType
impl Eq for ChainType
impl StructuralPartialEq for ChainType
Auto Trait Implementations§
impl Freeze for ChainType
impl RefUnwindSafe for ChainType
impl Send for ChainType
impl Sync for ChainType
impl Unpin for ChainType
impl UnsafeUnpin for ChainType
impl UnwindSafe for ChainType
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