Struct smbioslib::SystemSlotId
source · [−]Expand description
System Slots - Slot Id
The Slot ID field of the System Slot structure provides a mechanism to correlate the physical attributes of the slot to its logical access method (which varies based on the Slot Type field). The Slot ID field has meaning only for the slot types described in the table:
Slot Type | Slot ID Field Meaning |
---|---|
MCA | Identifies the logical Micro Channel slot number, in the range 1 to 15, in byte 0. Byte 1 is set to 0. |
PCI, AGP, PCIX, PCI Express | On a system that supports ACPI, identifies the value returned in the _SUN object for this slot. On a system that supports the PCI IRQ Routing Table Specification, identifies the value present in the Slot Number field of the PCI Interrupt Routing table entry that is associated with this slot, in byte 0 - byte 1 is set to 0. The table is returned by the “Get PCI Interrupt Routing Options” PCI BIOS function call and provided directly in the PCI IRQ Routing Table Specification ($PIRQ). Software can determine the PCI bus number and device associated with the slot by matching the “Slot ID” to an entry in the routing-table and ultimately determine what device is present in that slot. NOTE: This definition also applies to the 66 MHz-capable PCI slots. |
PCMCIA | Identifies the Adapter Number (byte 0) and Socket Number (byte 1) to be passed toPCMCIA Socket Services to identify this slot |
Tuple Fields
0: [u8; 2]
Implementations
Trait Implementations
sourceimpl Clone for SystemSlotId
impl Clone for SystemSlotId
sourcefn clone(&self) -> SystemSlotId
fn clone(&self) -> SystemSlotId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SystemSlotId
impl Debug for SystemSlotId
sourceimpl Deref for SystemSlotId
impl Deref for SystemSlotId
sourceimpl PartialEq<SystemSlotId> for SystemSlotId
impl PartialEq<SystemSlotId> for SystemSlotId
sourcefn eq(&self, other: &SystemSlotId) -> bool
fn eq(&self, other: &SystemSlotId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SystemSlotId) -> bool
fn ne(&self, other: &SystemSlotId) -> bool
This method tests for !=
.
sourceimpl Serialize for SystemSlotId
impl Serialize for SystemSlotId
impl Copy for SystemSlotId
impl Eq for SystemSlotId
impl StructuralEq for SystemSlotId
impl StructuralPartialEq for SystemSlotId
Auto Trait Implementations
impl RefUnwindSafe for SystemSlotId
impl Send for SystemSlotId
impl Sync for SystemSlotId
impl Unpin for SystemSlotId
impl UnwindSafe for SystemSlotId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more