#[repr(u16)]pub enum Config {
Show 23 variants
VendorId = 0,
DeviceId = 2,
Command = 4,
Status = 6,
RevisionId = 8,
ClassCodeIntr = 9,
ClassCodeSub = 10,
ClassCodeBase = 11,
CacheLineSize = 12,
LatencyTimer = 13,
HeaderType = 14,
Bist = 15,
BaseAddresses = 16,
CardbusCisPtr = 40,
SubsystemVendorId = 44,
SubsystemId = 46,
ExpRomAddress = 48,
CapabilitiesPtr = 52,
InterruptLine = 60,
InterruptPin = 61,
MinGrant = 62,
MaxLatency = 63,
UnknownOrdinal_(u16),
}Expand description
PCI Configuration Header registers. PCI Local Bus Specification v3, chapter 6.1.
Variants§
VendorId = 0
DeviceId = 2
Command = 4
Status = 6
RevisionId = 8
ClassCodeIntr = 9
ClassCodeSub = 10
ClassCodeBase = 11
CacheLineSize = 12
LatencyTimer = 13
HeaderType = 14
Bist = 15
BaseAddresses = 16
CardbusCisPtr = 40
SubsystemVendorId = 44
SubsystemId = 46
ExpRomAddress = 48
CapabilitiesPtr = 52
InterruptLine = 60
InterruptPin = 61
MinGrant = 62
MaxLatency = 63
UnknownOrdinal_(u16)
Trait Implementations§
Source§impl<'a, ___E> Encode<Config, ___E> for &'a Configwhere
___E: ?Sized,
impl<'a, ___E> Encode<Config, ___E> for &'a Configwhere
___E: ?Sized,
Source§impl<___E> Encode<Config, ___E> for Configwhere
___E: ?Sized,
impl<___E> Encode<Config, ___E> for Configwhere
___E: ?Sized,
Source§impl FromWireRef<Config> for Config
impl FromWireRef<Config> for Config
Source§fn from_wire_ref(wire: &Config) -> Self
fn from_wire_ref(wire: &Config) -> Self
Converts the given reference to this type.
Source§impl Ord for Config
impl Ord for Config
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Config
impl PartialOrd for Config
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§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]