pub enum ChargingState {
NotCharging = 0,
Charging = 1,
}Expand description
Is the UPS charging or not?
Variants§
Trait Implementations§
Source§impl Debug for ChargingState
impl Debug for ChargingState
Auto Trait Implementations§
impl Freeze for ChargingState
impl RefUnwindSafe for ChargingState
impl Send for ChargingState
impl Sync for ChargingState
impl Unpin for ChargingState
impl UnwindSafe for ChargingState
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