Enum linux_raw_sys::if_arp::netkit_action
source · #[non_exhaustive]#[repr(i32)]pub enum netkit_action {
NETKIT_NEXT = -1,
NETKIT_PASS = 0,
NETKIT_DROP = 2,
NETKIT_REDIRECT = 7,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for netkit_action
impl Clone for netkit_action
source§fn clone(&self) -> netkit_action
fn clone(&self) -> netkit_action
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 netkit_action
impl Debug for netkit_action
source§impl Hash for netkit_action
impl Hash for netkit_action
source§impl PartialEq for netkit_action
impl PartialEq for netkit_action
impl Copy for netkit_action
impl Eq for netkit_action
impl StructuralPartialEq for netkit_action
Auto Trait Implementations§
impl Freeze for netkit_action
impl RefUnwindSafe for netkit_action
impl Send for netkit_action
impl Sync for netkit_action
impl Unpin for netkit_action
impl UnwindSafe for netkit_action
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)