Struct smbioslib::OnBoardDeviceType
source · pub struct OnBoardDeviceType {
pub raw: u8,
}
Expand description
Fields§
§raw: u8
Raw value
Implementations§
source§impl OnBoardDeviceType
impl OnBoardDeviceType
sourcepub fn type_of_device(&self) -> TypeOfDevice
pub fn type_of_device(&self) -> TypeOfDevice
One of the onboard device types
sourcepub fn status(&self) -> DeviceStatus
pub fn status(&self) -> DeviceStatus
Enabled/disabled device status
Trait Implementations§
source§impl Debug for OnBoardDeviceType
impl Debug for OnBoardDeviceType
source§impl From<u8> for OnBoardDeviceType
impl From<u8> for OnBoardDeviceType
Auto Trait Implementations§
impl RefUnwindSafe for OnBoardDeviceType
impl Send for OnBoardDeviceType
impl Sync for OnBoardDeviceType
impl Unpin for OnBoardDeviceType
impl UnwindSafe for OnBoardDeviceType
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