Enum smbioslib::PortableBatteryDeviceChemistry[][src]

pub enum PortableBatteryDeviceChemistry {
    Other,
    Unknown,
    LeadAcit,
    NickelCadmium,
    NickelMetalHydride,
    LithiumIon,
    ZincAir,
    LithiumPolymer,
    None,
}

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.

LeadAcit

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 Debug for PortableBatteryDeviceChemistry[src]

impl Eq for PortableBatteryDeviceChemistry[src]

impl PartialEq<PortableBatteryDeviceChemistry> for PortableBatteryDeviceChemistry[src]

impl StructuralEq for PortableBatteryDeviceChemistry[src]

impl StructuralPartialEq for PortableBatteryDeviceChemistry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.