#[repr(C)]
pub union kvm_irq_routing_entry__bindgen_ty_1 {
pub irqchip: kvm_irq_routing_irqchip,
pub msi: kvm_irq_routing_msi,
pub adapter: kvm_irq_routing_s390_adapter,
pub hv_sint: kvm_irq_routing_hv_sint,
pub xen_evtchn: kvm_irq_routing_xen_evtchn,
pub pad: [u32; 8],
}Fields§
§irqchip: kvm_irq_routing_irqchip§msi: kvm_irq_routing_msi§adapter: kvm_irq_routing_s390_adapter§hv_sint: kvm_irq_routing_hv_sint§xen_evtchn: kvm_irq_routing_xen_evtchn§pad: [u32; 8]Trait Implementations§
Source§impl Clone for kvm_irq_routing_entry__bindgen_ty_1
impl Clone for kvm_irq_routing_entry__bindgen_ty_1
Source§fn clone(&self) -> kvm_irq_routing_entry__bindgen_ty_1
fn clone(&self) -> kvm_irq_routing_entry__bindgen_ty_1
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 FromBytes for kvm_irq_routing_entry__bindgen_ty_1where
kvm_irq_routing_irqchip: FromBytes + Immutable,
kvm_irq_routing_msi: FromBytes + Immutable,
kvm_irq_routing_s390_adapter: FromBytes + Immutable,
kvm_irq_routing_hv_sint: FromBytes + Immutable,
kvm_irq_routing_xen_evtchn: FromBytes + Immutable,
[u32; 8]: FromBytes + Immutable,
impl FromBytes for kvm_irq_routing_entry__bindgen_ty_1where
kvm_irq_routing_irqchip: FromBytes + Immutable,
kvm_irq_routing_msi: FromBytes + Immutable,
kvm_irq_routing_s390_adapter: FromBytes + Immutable,
kvm_irq_routing_hv_sint: FromBytes + Immutable,
kvm_irq_routing_xen_evtchn: FromBytes + Immutable,
[u32; 8]: FromBytes + Immutable,
§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,
§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,
§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 kvm_irq_routing_entry__bindgen_ty_1where
kvm_irq_routing_irqchip: FromZeros + Immutable,
kvm_irq_routing_msi: FromZeros + Immutable,
kvm_irq_routing_s390_adapter: FromZeros + Immutable,
kvm_irq_routing_hv_sint: FromZeros + Immutable,
kvm_irq_routing_xen_evtchn: FromZeros + Immutable,
[u32; 8]: FromZeros + Immutable,
impl FromZeros for kvm_irq_routing_entry__bindgen_ty_1where
kvm_irq_routing_irqchip: FromZeros + Immutable,
kvm_irq_routing_msi: FromZeros + Immutable,
kvm_irq_routing_s390_adapter: FromZeros + Immutable,
kvm_irq_routing_hv_sint: FromZeros + Immutable,
kvm_irq_routing_xen_evtchn: FromZeros + Immutable,
[u32; 8]: FromZeros + Immutable,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read more§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 more§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§impl KnownLayout for kvm_irq_routing_entry__bindgen_ty_1where
Self: Sized,
impl KnownLayout for kvm_irq_routing_entry__bindgen_ty_1where
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
The type of metadata stored in a pointer to
Self. Read moreSource§impl TryFromBytes for kvm_irq_routing_entry__bindgen_ty_1where
kvm_irq_routing_irqchip: TryFromBytes + Immutable,
kvm_irq_routing_msi: TryFromBytes + Immutable,
kvm_irq_routing_s390_adapter: TryFromBytes + Immutable,
kvm_irq_routing_hv_sint: TryFromBytes + Immutable,
kvm_irq_routing_xen_evtchn: TryFromBytes + Immutable,
[u32; 8]: TryFromBytes + Immutable,
impl TryFromBytes for kvm_irq_routing_entry__bindgen_ty_1where
kvm_irq_routing_irqchip: TryFromBytes + Immutable,
kvm_irq_routing_msi: TryFromBytes + Immutable,
kvm_irq_routing_s390_adapter: TryFromBytes + Immutable,
kvm_irq_routing_hv_sint: TryFromBytes + Immutable,
kvm_irq_routing_xen_evtchn: TryFromBytes + Immutable,
[u32; 8]: TryFromBytes + Immutable,
§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,
§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,
§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,
§fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
§fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
§fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
§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,
§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,
§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 kvm_irq_routing_entry__bindgen_ty_1
impl Immutable for kvm_irq_routing_entry__bindgen_ty_1where
kvm_irq_routing_irqchip: Immutable,
kvm_irq_routing_msi: Immutable,
kvm_irq_routing_s390_adapter: Immutable,
kvm_irq_routing_hv_sint: Immutable,
kvm_irq_routing_xen_evtchn: Immutable,
[u32; 8]: Immutable,
Auto Trait Implementations§
impl Freeze for kvm_irq_routing_entry__bindgen_ty_1
impl RefUnwindSafe for kvm_irq_routing_entry__bindgen_ty_1
impl Send for kvm_irq_routing_entry__bindgen_ty_1
impl Sync for kvm_irq_routing_entry__bindgen_ty_1
impl Unpin for kvm_irq_routing_entry__bindgen_ty_1
impl UnwindSafe for kvm_irq_routing_entry__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