Enum batteryd::battery::Status[][src]

pub enum Status {
    Missing,
    Discharging,
    Charging,
    Full,
}

Actual battery state.

Variants

Trait Implementations

impl Debug for Status
[src]

Formats the value using the given formatter. Read more

impl Clone for Status
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Status
[src]

impl PartialEq for Status
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Status
[src]

impl Display for Status
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Status

impl Sync for Status