#[repr(C)]pub union nf_conntrack_man_proto {
pub all: __be16,
pub tcp: nf_conntrack_man_proto__bindgen_ty_1,
pub udp: nf_conntrack_man_proto__bindgen_ty_2,
pub icmp: nf_conntrack_man_proto__bindgen_ty_3,
pub dccp: nf_conntrack_man_proto__bindgen_ty_4,
pub sctp: nf_conntrack_man_proto__bindgen_ty_5,
pub gre: nf_conntrack_man_proto__bindgen_ty_6,
}Fields§
§all: __be16§tcp: nf_conntrack_man_proto__bindgen_ty_1§udp: nf_conntrack_man_proto__bindgen_ty_2§icmp: nf_conntrack_man_proto__bindgen_ty_3§dccp: nf_conntrack_man_proto__bindgen_ty_4§sctp: nf_conntrack_man_proto__bindgen_ty_5§gre: nf_conntrack_man_proto__bindgen_ty_6Trait Implementations§
Source§impl Clone for nf_conntrack_man_proto
impl Clone for nf_conntrack_man_proto
Source§fn clone(&self) -> nf_conntrack_man_proto
fn clone(&self) -> nf_conntrack_man_proto
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 Default for nf_conntrack_man_proto
impl Default for nf_conntrack_man_proto
Source§impl FromBytes for nf_conntrack_man_protowhere
__be16: FromBytes,
nf_conntrack_man_proto__bindgen_ty_1: FromBytes,
nf_conntrack_man_proto__bindgen_ty_2: FromBytes,
nf_conntrack_man_proto__bindgen_ty_3: FromBytes,
nf_conntrack_man_proto__bindgen_ty_4: FromBytes,
nf_conntrack_man_proto__bindgen_ty_5: FromBytes,
nf_conntrack_man_proto__bindgen_ty_6: FromBytes,
impl FromBytes for nf_conntrack_man_protowhere
__be16: FromBytes,
nf_conntrack_man_proto__bindgen_ty_1: FromBytes,
nf_conntrack_man_proto__bindgen_ty_2: FromBytes,
nf_conntrack_man_proto__bindgen_ty_3: FromBytes,
nf_conntrack_man_proto__bindgen_ty_4: FromBytes,
nf_conntrack_man_proto__bindgen_ty_5: FromBytes,
nf_conntrack_man_proto__bindgen_ty_6: FromBytes,
Source§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
Source§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
Source§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
Interprets the suffix of the given bytes as a
&Self. Read moreSource§impl FromZeros for nf_conntrack_man_protowhere
__be16: FromZeros,
nf_conntrack_man_proto__bindgen_ty_1: FromZeros,
nf_conntrack_man_proto__bindgen_ty_2: FromZeros,
nf_conntrack_man_proto__bindgen_ty_3: FromZeros,
nf_conntrack_man_proto__bindgen_ty_4: FromZeros,
nf_conntrack_man_proto__bindgen_ty_5: FromZeros,
nf_conntrack_man_proto__bindgen_ty_6: FromZeros,
impl FromZeros for nf_conntrack_man_protowhere
__be16: FromZeros,
nf_conntrack_man_proto__bindgen_ty_1: FromZeros,
nf_conntrack_man_proto__bindgen_ty_2: FromZeros,
nf_conntrack_man_proto__bindgen_ty_3: FromZeros,
nf_conntrack_man_proto__bindgen_ty_4: FromZeros,
nf_conntrack_man_proto__bindgen_ty_5: FromZeros,
nf_conntrack_man_proto__bindgen_ty_6: FromZeros,
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl KnownLayout for nf_conntrack_man_protowhere
Self: Sized,
impl KnownLayout for nf_conntrack_man_protowhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
The type of metadata stored in a pointer to
Self. Read moreSource§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Computes the size of an object of type
Self with the given pointer
metadata. Read moreSource§impl TryFromBytes for nf_conntrack_man_protowhere
__be16: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_1: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_2: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_3: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_4: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_5: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_6: TryFromBytes,
impl TryFromBytes for nf_conntrack_man_protowhere
__be16: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_1: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_2: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_3: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_4: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_5: TryFromBytes,
nf_conntrack_man_proto__bindgen_ty_6: TryFromBytes,
Source§fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
Source§fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
Source§fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for nf_conntrack_man_proto
impl Immutable for nf_conntrack_man_protowhere
__be16: Immutable,
nf_conntrack_man_proto__bindgen_ty_1: Immutable,
nf_conntrack_man_proto__bindgen_ty_2: Immutable,
nf_conntrack_man_proto__bindgen_ty_3: Immutable,
nf_conntrack_man_proto__bindgen_ty_4: Immutable,
nf_conntrack_man_proto__bindgen_ty_5: Immutable,
nf_conntrack_man_proto__bindgen_ty_6: Immutable,
Auto Trait Implementations§
impl Freeze for nf_conntrack_man_proto
impl RefUnwindSafe for nf_conntrack_man_proto
impl Send for nf_conntrack_man_proto
impl Sync for nf_conntrack_man_proto
impl Unpin for nf_conntrack_man_proto
impl UnwindSafe for nf_conntrack_man_proto
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