#[repr(C)]pub union if_settings__bindgen_ty_1 {
pub raw_hdlc: uref<raw_hdlc_proto>,
pub cisco: uref<cisco_proto>,
pub fr: uref<fr_proto>,
pub fr_pvc: uref<fr_proto_pvc>,
pub fr_pvc_info: uref<fr_proto_pvc_info>,
pub x25: uref<x25_hdlc_proto>,
pub sync: uref<sync_serial_settings>,
pub te1: uref<te1_settings>,
}Fields§
§raw_hdlc: uref<raw_hdlc_proto>§cisco: uref<cisco_proto>§fr: uref<fr_proto>§fr_pvc: uref<fr_proto_pvc>§fr_pvc_info: uref<fr_proto_pvc_info>§x25: uref<x25_hdlc_proto>§sync: uref<sync_serial_settings>§te1: uref<te1_settings>Trait Implementations§
Source§impl Clone for if_settings__bindgen_ty_1
impl Clone for if_settings__bindgen_ty_1
Source§fn clone(&self) -> if_settings__bindgen_ty_1
fn clone(&self) -> if_settings__bindgen_ty_1
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 if_settings__bindgen_ty_1
impl Default for if_settings__bindgen_ty_1
Source§impl FromBytes for if_settings__bindgen_ty_1where
uref<raw_hdlc_proto>: FromBytes + Immutable,
uref<cisco_proto>: FromBytes + Immutable,
uref<fr_proto>: FromBytes + Immutable,
uref<fr_proto_pvc>: FromBytes + Immutable,
uref<fr_proto_pvc_info>: FromBytes + Immutable,
uref<x25_hdlc_proto>: FromBytes + Immutable,
uref<sync_serial_settings>: FromBytes + Immutable,
uref<te1_settings>: FromBytes + Immutable,
impl FromBytes for if_settings__bindgen_ty_1where
uref<raw_hdlc_proto>: FromBytes + Immutable,
uref<cisco_proto>: FromBytes + Immutable,
uref<fr_proto>: FromBytes + Immutable,
uref<fr_proto_pvc>: FromBytes + Immutable,
uref<fr_proto_pvc_info>: FromBytes + Immutable,
uref<x25_hdlc_proto>: FromBytes + Immutable,
uref<sync_serial_settings>: FromBytes + Immutable,
uref<te1_settings>: 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 if_settings__bindgen_ty_1where
uref<raw_hdlc_proto>: FromZeros + Immutable,
uref<cisco_proto>: FromZeros + Immutable,
uref<fr_proto>: FromZeros + Immutable,
uref<fr_proto_pvc>: FromZeros + Immutable,
uref<fr_proto_pvc_info>: FromZeros + Immutable,
uref<x25_hdlc_proto>: FromZeros + Immutable,
uref<sync_serial_settings>: FromZeros + Immutable,
uref<te1_settings>: FromZeros + Immutable,
impl FromZeros for if_settings__bindgen_ty_1where
uref<raw_hdlc_proto>: FromZeros + Immutable,
uref<cisco_proto>: FromZeros + Immutable,
uref<fr_proto>: FromZeros + Immutable,
uref<fr_proto_pvc>: FromZeros + Immutable,
uref<fr_proto_pvc_info>: FromZeros + Immutable,
uref<x25_hdlc_proto>: FromZeros + Immutable,
uref<sync_serial_settings>: FromZeros + Immutable,
uref<te1_settings>: FromZeros + Immutable,
Source§impl KnownLayout for if_settings__bindgen_ty_1where
Self: Sized,
impl KnownLayout for if_settings__bindgen_ty_1where
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 if_settings__bindgen_ty_1where
uref<raw_hdlc_proto>: TryFromBytes + Immutable,
uref<cisco_proto>: TryFromBytes + Immutable,
uref<fr_proto>: TryFromBytes + Immutable,
uref<fr_proto_pvc>: TryFromBytes + Immutable,
uref<fr_proto_pvc_info>: TryFromBytes + Immutable,
uref<x25_hdlc_proto>: TryFromBytes + Immutable,
uref<sync_serial_settings>: TryFromBytes + Immutable,
uref<te1_settings>: TryFromBytes + Immutable,
impl TryFromBytes for if_settings__bindgen_ty_1where
uref<raw_hdlc_proto>: TryFromBytes + Immutable,
uref<cisco_proto>: TryFromBytes + Immutable,
uref<fr_proto>: TryFromBytes + Immutable,
uref<fr_proto_pvc>: TryFromBytes + Immutable,
uref<fr_proto_pvc_info>: TryFromBytes + Immutable,
uref<x25_hdlc_proto>: TryFromBytes + Immutable,
uref<sync_serial_settings>: TryFromBytes + Immutable,
uref<te1_settings>: 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 if_settings__bindgen_ty_1
impl Immutable for if_settings__bindgen_ty_1where
uref<raw_hdlc_proto>: Immutable,
uref<cisco_proto>: Immutable,
uref<fr_proto>: Immutable,
uref<fr_proto_pvc>: Immutable,
uref<fr_proto_pvc_info>: Immutable,
uref<x25_hdlc_proto>: Immutable,
uref<sync_serial_settings>: Immutable,
uref<te1_settings>: Immutable,
Auto Trait Implementations§
impl Freeze for if_settings__bindgen_ty_1
impl RefUnwindSafe for if_settings__bindgen_ty_1
impl Send for if_settings__bindgen_ty_1
impl Sync for if_settings__bindgen_ty_1
impl Unpin for if_settings__bindgen_ty_1
impl UnwindSafe for if_settings__bindgen_ty_1
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