Struct sysfs_serde::pci_attributes::PciAttributes[][src]

pub struct PciAttributes {
    pub class: u32,
    pub subsystem_vendor: String,
    pub subsystem_device: String,
    pub dma_mask_bits: u8,
    pub vendor: String,
    pub device: String,
    pub enable: u8,
    pub revision: u16,
    pub irq: u8,
    pub local_cpus: u8,
    pub uevent: Option<UEvent>,
    pub resource: Vec<u64>,
    pub ari_enabled: u8,
    pub current_link_width: u8,
    pub max_link_width: u8,
    pub msi_bus: u8,
    pub consistent_dma_mask_bits: u8,
    pub secondary_bus_number: u8,
    pub subordinate_bus_number: u8,
    pub broken_parity_status: u8,
    pub d3cold_allowed: u8,
    pub numa_node: i8,
    pub modalias: String,
    pub current_link_speed: String,
    pub max_link_speed: String,
    pub driver_override: Option<String>,
    pub local_cpulist: String,
    pub aer_dev_fatal: String,
    pub aer_dev_nonfatal: String,
    pub aer_dev_correctable: String,
    pub config: Vec<u8>,
    pub attributes: HashMap<String, String>,
}

Fields

class: u32subsystem_vendor: Stringsubsystem_device: Stringdma_mask_bits: u8vendor: Stringdevice: Stringenable: u8revision: u16irq: u8local_cpus: u8uevent: Option<UEvent>resource: Vec<u64>ari_enabled: u8current_link_width: u8max_link_width: u8msi_bus: u8consistent_dma_mask_bits: u8secondary_bus_number: u8subordinate_bus_number: u8broken_parity_status: u8d3cold_allowed: u8numa_node: i8modalias: Stringcurrent_link_speed: Stringmax_link_speed: Stringdriver_override: Option<String>local_cpulist: Stringaer_dev_fatal: Stringaer_dev_nonfatal: Stringaer_dev_correctable: Stringconfig: Vec<u8>attributes: HashMap<String, String>

Trait Implementations

impl Default for PciAttributes[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.