pub enum PowerEvent {
PowerFailure,
EnterSleep,
ExitSleep,
UsbPluggedIn,
UsbPluggedOut,
UsbPowerReady,
}
Variants§
Auto Trait Implementations§
impl Freeze for PowerEvent
impl RefUnwindSafe for PowerEvent
impl Send for PowerEvent
impl Sync for PowerEvent
impl Unpin for PowerEvent
impl UnwindSafe for PowerEvent
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