Enum smbioslib::ElementMaximum
source · [−]pub enum ElementMaximum {
Count(u8),
Reserved,
}
Expand description
Contained Element Maximum
Specifies the minimum number of the ‘element_type’ that can be installed in the chassis in the range 0 to 254.
Variants
Count(u8)
Specifies the maximum number of the ‘element_type’ that can be installed in the chassis for the chassis to properly operate, in the range 1 to 255.
Reserved
The value 0 is reserved for future definition by this specification.
Trait Implementations
sourceimpl Debug for ElementMaximum
impl Debug for ElementMaximum
sourceimpl From<u8> for ElementMaximum
impl From<u8> for ElementMaximum
sourceimpl Serialize for ElementMaximum
impl Serialize for ElementMaximum
Auto Trait Implementations
impl RefUnwindSafe for ElementMaximum
impl Send for ElementMaximum
impl Sync for ElementMaximum
impl Unpin for ElementMaximum
impl UnwindSafe for ElementMaximum
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