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<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciExpressCapabilities<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciExpressDeviceCapabilities2<'_>

§

type Type = u32

source§

impl PciBitFieldReadable for PciExpressDeviceCapabilities<'_>

§

type Type = u32

source§

impl PciBitFieldReadable for PciExpressDeviceControl2<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciExpressDeviceControl<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciExpressDeviceStatus<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciExpressLinkCapabilities2<'_>

§

type Type = u32

source§

impl PciBitFieldReadable for PciExpressLinkCapabilities<'_>

§

type Type = u32

source§

impl PciBitFieldReadable for PciExpressLinkControl2<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciExpressLinkControl<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciExpressLinkStatus2<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciExpressLinkStatus<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for VpdAddressRegister<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for ExtendedCapabilityHeader<'_>

§

type Type = u32

source§

impl PciBitFieldReadable for VendorSpecificHeader<'_>

§

type Type = u32

source§

impl PciBitFieldReadable for PciBist<'_>

§

type Type = u8

source§

impl PciBitFieldReadable for PciCommand<'_>

§

type Type = u16

source§

impl PciBitFieldReadable for PciHeaderType<'_>

§

type Type = u8

source§

impl PciBitFieldReadable for PciStatus<'_>

§

type Type = u16