#[repr(C)]pub struct PciDevice<'de> {
pub base_addresses: Vector<'de, BaseAddress>,
pub capabilities: Vector<'de, Capability>,
pub ext_capabilities: Vector<'de, ExtendedCapability>,
pub config: Vector<'de, u8>,
pub bus_id: u8,
pub device_id: u8,
pub function_id: u8,
}Expand description
The wire type corresponding to PciDevice.
Fields§
§base_addresses: Vector<'de, BaseAddress>§capabilities: Vector<'de, Capability>§ext_capabilities: Vector<'de, ExtendedCapability>§config: Vector<'de, u8>§bus_id: u8§device_id: u8§function_id: u8Trait Implementations§
Source§impl Constrained for PciDevice<'_>
impl Constrained for PciDevice<'_>
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§impl<'de, ___D> Decode<___D> for PciDevice<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
impl<'de, ___D> Decode<___D> for PciDevice<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
Source§impl<'a, ___E> Encode<PciDevice<'static>, ___E> for &'a PciDevicewhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<PciDevice<'static>, ___E> for &'a PciDevicewhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§impl<___E> Encode<PciDevice<'static>, ___E> for PciDevicewhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<PciDevice<'static>, ___E> for PciDevicewhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§impl<___E, T0, T1, T2, T3, T4, T5, T6> Encode<PciDevice<'static>, ___E> for PciDevice<T0, T1, T2, T3, T4, T5, T6>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<Vector<'static, BaseAddress>, ___E>,
T1: Encode<Vector<'static, Capability>, ___E>,
T2: Encode<Vector<'static, ExtendedCapability>, ___E>,
T3: Encode<Vector<'static, u8>, ___E>,
T4: Encode<u8, ___E>,
T5: Encode<u8, ___E>,
T6: Encode<u8, ___E>,
impl<___E, T0, T1, T2, T3, T4, T5, T6> Encode<PciDevice<'static>, ___E> for PciDevice<T0, T1, T2, T3, T4, T5, T6>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<Vector<'static, BaseAddress>, ___E>,
T1: Encode<Vector<'static, Capability>, ___E>,
T2: Encode<Vector<'static, ExtendedCapability>, ___E>,
T3: Encode<Vector<'static, u8>, ___E>,
T4: Encode<u8, ___E>,
T5: Encode<u8, ___E>,
T6: Encode<u8, ___E>,
Source§impl<'de> FromWireRef<PciDevice<'de>> for PciDevice
impl<'de> FromWireRef<PciDevice<'de>> for PciDevice
Source§fn from_wire_ref(wire: &PciDevice<'de>) -> PciDevice
fn from_wire_ref(wire: &PciDevice<'de>) -> PciDevice
Converts the given reference to this type.
Auto Trait Implementations§
impl<'de> Freeze for PciDevice<'de>
impl<'de> RefUnwindSafe for PciDevice<'de>
impl<'de> Send for PciDevice<'de>
impl<'de> Sync for PciDevice<'de>
impl<'de> Unpin for PciDevice<'de>
impl<'de> UnsafeUnpin for PciDevice<'de>
impl<'de> !UnwindSafe for PciDevice<'de>
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]