Enum smbioslib::PowerSupplyType
source · pub enum PowerSupplyType {
Other,
Unknown,
Linear,
Switching,
Battery,
Ups,
Converter,
Regulator,
None,
}
Expand description
Variants§
Other
Other
Unknown
Unknown
Linear
Linear
Switching
Switching
Battery
Battery
Ups
UPS
Converter
Converter
Regulator
Regulator
None
A value unknown to this standard, check the raw value
Trait Implementations§
source§impl Debug for PowerSupplyType
impl Debug for PowerSupplyType
source§impl From<u16> for PowerSupplyType
impl From<u16> for PowerSupplyType
source§impl PartialEq<PowerSupplyType> for PowerSupplyType
impl PartialEq<PowerSupplyType> for PowerSupplyType
source§fn eq(&self, other: &PowerSupplyType) -> bool
fn eq(&self, other: &PowerSupplyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PowerSupplyType
impl Serialize for PowerSupplyType
impl Eq for PowerSupplyType
impl StructuralEq for PowerSupplyType
impl StructuralPartialEq for PowerSupplyType
Auto Trait Implementations§
impl RefUnwindSafe for PowerSupplyType
impl Send for PowerSupplyType
impl Sync for PowerSupplyType
impl Unpin for PowerSupplyType
impl UnwindSafe for PowerSupplyType
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