Struct netlink_packet_netfilter::NetfilterHeader
source · [−]Fields
family: u8
version: u8
res_id: u16
Implementations
Trait Implementations
sourceimpl Clone for NetfilterHeader
impl Clone for NetfilterHeader
sourcefn clone(&self) -> NetfilterHeader
fn clone(&self) -> NetfilterHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NetfilterHeader
impl Debug for NetfilterHeader
sourceimpl Emitable for NetfilterHeader
impl Emitable for NetfilterHeader
sourceimpl PartialEq<NetfilterHeader> for NetfilterHeader
impl PartialEq<NetfilterHeader> for NetfilterHeader
sourcefn eq(&self, other: &NetfilterHeader) -> bool
fn eq(&self, other: &NetfilterHeader) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NetfilterHeader) -> bool
fn ne(&self, other: &NetfilterHeader) -> bool
This method tests for !=
.
impl Eq for NetfilterHeader
impl StructuralEq for NetfilterHeader
impl StructuralPartialEq for NetfilterHeader
Auto Trait Implementations
impl RefUnwindSafe for NetfilterHeader
impl Send for NetfilterHeader
impl Sync for NetfilterHeader
impl Unpin for NetfilterHeader
impl UnwindSafe for NetfilterHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more