Struct smbioslib::SMBiosSystemSlot [−][src]
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]
pub fn slot_designation(&self) -> Option<String>
[src]
Slot Designation
pub fn system_slot_type(&self) -> Option<SystemSlotTypeData>
[src]
Slot Type
pub fn slot_data_bus_width(&self) -> Option<SlotWidthData>
[src]
Slot Data Bus Width
pub fn current_usage(&self) -> Option<SlotCurrentUsageData>
[src]
Current Usage
pub fn slot_length(&self) -> Option<SlotLengthData>
[src]
Slot Length
pub fn slot_id(&self) -> Option<u16>
[src]
Slot Id
pub fn slot_characteristics_1(&self) -> Option<SystemSlotCharacteristics1>
[src]
Slot Characteristics 1
pub fn slot_characteristics_2(&self) -> Option<SystemSlotCharacteristics2>
[src]
Slot Characteristics 2
pub fn segment_group_number(&self) -> Option<u16>
[src]
Segment Group Number (Base)
pub fn bus_number(&self) -> Option<u8>
[src]
Bus Number (Base)
pub fn device_function_number(&self) -> Option<u8>
[src]
Device/Function Number (Base)
pub fn data_bus_width(&self) -> Option<u8>
[src]
Data Bus Width (Base)
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]
Notable traits for SlotPeerGroupIterator<'a>
impl<'a> Iterator for SlotPeerGroupIterator<'a> type Item = SlotPeerGroup<'a>;
Iterates over the SlotPeerGroup entries
pub fn slot_information(&self) -> Option<u8>
[src]
Slot Information
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]
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<'a> SMBiosStruct<'a> for SMBiosSystemSlot<'a>
[src]
const STRUCT_TYPE: u8
[src]
fn new(parts: &'a UndefinedStruct) -> Self
[src]
fn parts(&self) -> &'a UndefinedStruct
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosSystemSlot<'a>
impl<'a> Send for SMBiosSystemSlot<'a>
impl<'a> Sync for SMBiosSystemSlot<'a>
impl<'a> Unpin for SMBiosSystemSlot<'a>
impl<'a> UnwindSafe for SMBiosSystemSlot<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,