Struct smbioslib::SMBiosSystemSlot [−][src]
pub struct SMBiosSystemSlot<'a> { /* fields omitted */ }
System Slots (Type 9)
The information in this structure defines the attributes of a system slot. One structure is provided for each slot in the system.
Implementations
impl<'a> SMBiosSystemSlot<'a>
[src]
impl<'a> SMBiosSystemSlot<'a>
[src]pub fn slot_designation(&self) -> Option<String>
[src]
pub fn slot_designation(&self) -> Option<String>
[src]Slot Designation
pub fn system_slot_type(&self) -> Option<SystemSlotTypeData>
[src]
pub fn system_slot_type(&self) -> Option<SystemSlotTypeData>
[src]Slot Type
pub fn slot_data_bus_width(&self) -> Option<SlotWidthData>
[src]
pub fn slot_data_bus_width(&self) -> Option<SlotWidthData>
[src]Slot Data Bus Width
pub fn current_usage(&self) -> Option<SlotCurrentUsageData>
[src]
pub fn current_usage(&self) -> Option<SlotCurrentUsageData>
[src]Current Usage
pub fn slot_length(&self) -> Option<SlotLengthData>
[src]
pub fn slot_length(&self) -> Option<SlotLengthData>
[src]Slot Length
pub fn slot_characteristics_1(&self) -> Option<SystemSlotCharacteristics1>
[src]
pub fn slot_characteristics_1(&self) -> Option<SystemSlotCharacteristics1>
[src]Slot Characteristics 1
pub fn slot_characteristics_2(&self) -> Option<SystemSlotCharacteristics2>
[src]
pub fn slot_characteristics_2(&self) -> Option<SystemSlotCharacteristics2>
[src]Slot Characteristics 2
pub fn segment_group_number(&self) -> Option<u16>
[src]
pub fn segment_group_number(&self) -> Option<u16>
[src]Segment Group Number (Base)
pub fn bus_number(&self) -> Option<u8>
[src]
pub fn bus_number(&self) -> Option<u8>
[src]Bus Number (Base)
pub fn device_function_number(&self) -> Option<u8>
[src]
pub fn device_function_number(&self) -> Option<u8>
[src]Device/Function Number (Base)
pub fn data_bus_width(&self) -> Option<u8>
[src]
pub fn data_bus_width(&self) -> Option<u8>
[src]Data Bus Width (Base)
pub fn peer_group_count(&self) -> Option<usize>
[src]
pub fn peer_group_count(&self) -> Option<usize>
[src]Number of peer Segment/Bus/Device/Function/Width groups that follow
pub fn peer_group_iterator(&'a self) -> SlotPeerGroupIterator<'a>ⓘNotable traits for SlotPeerGroupIterator<'a>
impl<'a> Iterator for SlotPeerGroupIterator<'a> type Item = SlotPeerGroup<'a>;
[src]
pub fn peer_group_iterator(&'a self) -> SlotPeerGroupIterator<'a>ⓘNotable traits for SlotPeerGroupIterator<'a>
impl<'a> Iterator for SlotPeerGroupIterator<'a> type Item = SlotPeerGroup<'a>;
[src]Iterates over the SlotPeerGroup entries
pub fn slot_information(&self) -> Option<u8>
[src]
pub fn slot_information(&self) -> Option<u8>
[src]Slot Information
pub fn slot_physical_width(&self) -> Option<SlotWidthData>
[src]
pub fn slot_physical_width(&self) -> Option<SlotWidthData>
[src]Slot Physical Width
This field indicates the physical width of the slot whereas slot_data_bus_width() indicates the electrical width of the slot.
The possible values of both fields are listed in Table 46 – System Slots: Slot Width field.
pub fn slot_pitch(&self) -> Option<u16>
[src]
pub fn slot_pitch(&self) -> Option<u16>
[src]Slot Pitch
The Slot Pitch field contains a numeric value that indicates the pitch of the slot in units of 1/100 millimeter.
The pitch is defined by each slot/card specification, but typically describes add-in card to add-in card pitch.
For EDSFF slots, the pitch is defined in SFF-TA-1006 table 7.1, SFF-TA-1007 table 7.1 (add-in card to add-in card pitch), and SFF-TA-1008 table 6-1 (SSD to SSD pitch).
For example, if the pitch for the slot is 12.5 mm, the value 1250 would be used.
A value of 0 implies that the slot pitch is not given or is unknown.
Trait Implementations
impl Debug for SMBiosSystemSlot<'_>
[src]
impl Debug for SMBiosSystemSlot<'_>
[src]impl<'a> SMBiosStruct<'a> for SMBiosSystemSlot<'a>
[src]
impl<'a> SMBiosStruct<'a> for SMBiosSystemSlot<'a>
[src]const STRUCT_TYPE: u8
[src]
const STRUCT_TYPE: u8
[src]The SMBIOS structure type Read more
fn new(parts: &'a UndefinedStruct) -> Self
[src]
fn new(parts: &'a UndefinedStruct) -> Self
[src]Creates a new instance of the implementing SMBIOS type
fn parts(&self) -> &'a UndefinedStruct
[src]
fn parts(&self) -> &'a UndefinedStruct
[src]Contains the standard parts/sections of the implementing SMBIOS type.
impl Serialize for SMBiosSystemSlot<'_>
[src]
impl Serialize for SMBiosSystemSlot<'_>
[src]