Struct smbioslib::BaseboardFeatures
source · [−]pub struct BaseboardFeatures {
pub raw: u8,
}
Expand description
Fields
raw: u8
Raw value
raw is useful when there are values not yet defiend. This is most likely to occur when the standard was updated but this library code has not been updated to match the current standard.
Implementations
sourceimpl BaseboardFeatures
impl BaseboardFeatures
sourcepub fn hosting_board(&self) -> bool
pub fn hosting_board(&self) -> bool
Set if the board is a hosting board (for example, a motherboard).
sourcepub fn requires_daughterboard(&self) -> bool
pub fn requires_daughterboard(&self) -> bool
Set if the board requires at least one daughter board or auxiliary card to function properly.
sourcepub fn is_removable(&self) -> bool
pub fn is_removable(&self) -> bool
Set if the board is removable; it is designed to be taken in and out of the chassis without impairing the function of the chassis.
sourcepub fn is_replaceable(&self) -> bool
pub fn is_replaceable(&self) -> bool
Set if the board is replaceable; it is possible to replace (either as a field repair or as an upgrade) the board with a physically different board. The board is inherently removable.
sourcepub fn is_hot_swappable(&self) -> bool
pub fn is_hot_swappable(&self) -> bool
Set if the board is hot swappable; it is possible to replace the board with a physically different but equivalent board while power is applied to the board. The board is inherently replaceable and removable.
Trait Implementations
sourceimpl Debug for BaseboardFeatures
impl Debug for BaseboardFeatures
sourceimpl Deref for BaseboardFeatures
impl Deref for BaseboardFeatures
sourceimpl From<u8> for BaseboardFeatures
impl From<u8> for BaseboardFeatures
sourceimpl PartialEq<BaseboardFeatures> for BaseboardFeatures
impl PartialEq<BaseboardFeatures> for BaseboardFeatures
sourcefn eq(&self, other: &BaseboardFeatures) -> bool
fn eq(&self, other: &BaseboardFeatures) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BaseboardFeatures) -> bool
fn ne(&self, other: &BaseboardFeatures) -> bool
This method tests for !=
.
sourceimpl Serialize for BaseboardFeatures
impl Serialize for BaseboardFeatures
impl Eq for BaseboardFeatures
impl StructuralEq for BaseboardFeatures
impl StructuralPartialEq for BaseboardFeatures
Auto Trait Implementations
impl RefUnwindSafe for BaseboardFeatures
impl Send for BaseboardFeatures
impl Sync for BaseboardFeatures
impl Unpin for BaseboardFeatures
impl UnwindSafe for BaseboardFeatures
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