#[repr(usize)]pub enum ConfigSpaceSize {
Normal = 256,
Extended = 4_096,
}Expand description
Represents the size of a PCI configuration space.
PCI devices can have either a normal (legacy) configuration space of 256 bytes, or an extended configuration space of 4096 bytes as defined in the PCI Express specification.
Variants§
Normal = 256
256-byte legacy PCI configuration space.
Extended = 4_096
4096-byte PCIe extended configuration space.
Implementations§
Trait Implementations§
Source§impl PartialEq for ConfigSpaceSize
impl PartialEq for ConfigSpaceSize
impl Eq for ConfigSpaceSize
impl StructuralPartialEq for ConfigSpaceSize
Auto Trait Implementations§
impl Freeze for ConfigSpaceSize
impl RefUnwindSafe for ConfigSpaceSize
impl Send for ConfigSpaceSize
impl Sync for ConfigSpaceSize
impl Unpin for ConfigSpaceSize
impl UnwindSafe for ConfigSpaceSize
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
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more