pub enum PortableBatteryDeviceChemistry {
Other,
Unknown,
LeadAcid,
NickelCadmium,
NickelMetalHydride,
LithiumIon,
ZincAir,
LithiumPolymer,
None,
}
Expand description
Variants
Other
Other
Unknown
Unknown
Version 2.2+ implementations that use a Smart Battery set this field to 02h (Unknown) to indicate that the ‘sbds_device_chemistry’ field contains the information.
LeadAcid
Lead Acid
NickelCadmium
Nickel Cadmium
NickelMetalHydride
Nickel metal hydride
LithiumIon
Lithium-ion
ZincAir
Zinc air
LithiumPolymer
Lithium Polymer
None
A value unknown to this standard, check the raw value
Trait Implementations
impl Eq for PortableBatteryDeviceChemistry
impl StructuralEq for PortableBatteryDeviceChemistry
impl StructuralPartialEq for PortableBatteryDeviceChemistry
Auto Trait Implementations
impl RefUnwindSafe for PortableBatteryDeviceChemistry
impl Send for PortableBatteryDeviceChemistry
impl Sync for PortableBatteryDeviceChemistry
impl Unpin for PortableBatteryDeviceChemistry
impl UnwindSafe for PortableBatteryDeviceChemistry
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