Enum batteryd::battery::Status [−][src]
pub enum Status { Missing, Discharging, Charging, Full, }
Actual battery state.
Variants
Missing
Discharging
Charging
Full
Trait Implementations
impl Debug for Status
[src]
impl Debug for Status
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Status
[src]
impl Clone for Status
fn clone(&self) -> Status
[src]
fn clone(&self) -> Status
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Status
[src]
impl Copy for Status
impl PartialEq for Status
[src]
impl PartialEq for Status
fn eq(&self, other: &Status) -> bool
[src]
fn eq(&self, other: &Status) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Status
[src]
impl Eq for Status
impl Display for Status
[src]
impl Display for Status