#[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 + Immutable,
nf_conntrack_man_proto__bindgen_ty_1: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_2: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_3: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_4: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_5: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_6: FromBytes + Immutable,
impl FromBytes for nf_conntrack_man_protowhere
__be16: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_1: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_2: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_3: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_4: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_5: FromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_6: FromBytes + Immutable,
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 + Immutable,
nf_conntrack_man_proto__bindgen_ty_1: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_2: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_3: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_4: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_5: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_6: FromZeros + Immutable,
impl FromZeros for nf_conntrack_man_protowhere
__be16: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_1: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_2: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_3: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_4: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_5: FromZeros + Immutable,
nf_conntrack_man_proto__bindgen_ty_6: FromZeros + Immutable,
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 + Immutable,
nf_conntrack_man_proto__bindgen_ty_1: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_2: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_3: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_4: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_5: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_6: TryFromBytes + Immutable,
impl TryFromBytes for nf_conntrack_man_protowhere
__be16: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_1: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_2: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_3: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_4: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_5: TryFromBytes + Immutable,
nf_conntrack_man_proto__bindgen_ty_6: TryFromBytes + Immutable,
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