pub enum ObjectType {
Unspec = 0,
Counter = 1,
Quota = 2,
CtHelper = 3,
Limit = 4,
Connlimit = 5,
Tunnel = 6,
CtTimeout = 7,
Secmark = 8,
CtExpect = 9,
Synproxy = 10,
}Available on crate feature
nftables only.Expand description
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Unspec = 0
Counter = 1
Quota = 2
CtHelper = 3
Limit = 4
Connlimit = 5
Tunnel = 6
CtTimeout = 7
Secmark = 8
CtExpect = 9
Synproxy = 10
Implementations§
Source§impl ObjectType
impl ObjectType
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a duplicate 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 ObjectType
impl Debug for ObjectType
impl Copy for ObjectType
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
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