pub enum RejectTypes {
IcmpUnreach = 0,
TcpRst = 1,
IcmpxUnreach = 2,
}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§
Implementations§
Source§impl RejectTypes
impl RejectTypes
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for RejectTypes
impl Clone for RejectTypes
Source§fn clone(&self) -> RejectTypes
fn clone(&self) -> RejectTypes
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 RejectTypes
impl Debug for RejectTypes
impl Copy for RejectTypes
Auto Trait Implementations§
impl Freeze for RejectTypes
impl RefUnwindSafe for RejectTypes
impl Send for RejectTypes
impl Sync for RejectTypes
impl Unpin for RejectTypes
impl UnwindSafe for RejectTypes
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