Trait PciBitFieldReadable

Source
pub trait PciBitFieldReadable: Debug {
    type Type: PciRegisterValue;

    // Required method
    fn read(&self) -> Result<Self::Type>;
}
Expand description

A PCI register of type that is a bit field and may be read.

Required Associated Types§

Source

type Type: PciRegisterValue

The type of the register’s value.

Required Methods§

Source

fn read(&self) -> Result<Self::Type>

Read the entire bit field at once.

Implementors§

Source§

impl PciBitFieldReadable for MsiMessageControl<'_>

Source§

impl PciBitFieldReadable for PciExpressCapabilities<'_>

Source§

impl PciBitFieldReadable for PciExpressDeviceCapabilities2<'_>

Source§

impl PciBitFieldReadable for PciExpressDeviceCapabilities<'_>

Source§

impl PciBitFieldReadable for PciExpressDeviceControl2<'_>

Source§

impl PciBitFieldReadable for PciExpressDeviceControl<'_>

Source§

impl PciBitFieldReadable for PciExpressDeviceStatus<'_>

Source§

impl PciBitFieldReadable for PciExpressLinkCapabilities2<'_>

Source§

impl PciBitFieldReadable for PciExpressLinkCapabilities<'_>

Source§

impl PciBitFieldReadable for PciExpressLinkControl2<'_>

Source§

impl PciBitFieldReadable for PciExpressLinkControl<'_>

Source§

impl PciBitFieldReadable for PciExpressLinkStatus2<'_>

Source§

impl PciBitFieldReadable for PciExpressLinkStatus<'_>

Source§

impl PciBitFieldReadable for VpdAddressRegister<'_>

Source§

impl PciBitFieldReadable for ExtendedCapabilityHeader<'_>

Source§

impl PciBitFieldReadable for VendorSpecificHeader<'_>

Source§

impl PciBitFieldReadable for PciBist<'_>

Source§

impl PciBitFieldReadable for PciCommand<'_>

Source§

impl PciBitFieldReadable for PciHeaderType<'_>

Source§

impl PciBitFieldReadable for PciStatus<'_>