pub enum PowerDeviceType {
Ups,
PowerSupply,
}Expand description
Application collection usage — the device type the host sees.
Variants§
Ups
Uninterruptible power supply: has a battery and reports report 3.
PowerSupply
Power supply without a battery.
Implementations§
Trait Implementations§
Source§impl Clone for PowerDeviceType
impl Clone for PowerDeviceType
impl Copy for PowerDeviceType
Source§impl Debug for PowerDeviceType
impl Debug for PowerDeviceType
impl Eq for PowerDeviceType
Source§impl PartialEq for PowerDeviceType
impl PartialEq for PowerDeviceType
impl StructuralPartialEq for PowerDeviceType
Auto Trait Implementations§
impl Forget for PowerDeviceType
impl Freeze for PowerDeviceType
impl Move for PowerDeviceType
impl RefUnwindSafe for PowerDeviceType
impl Send for PowerDeviceType
impl Sync for PowerDeviceType
impl Unpin for PowerDeviceType
impl UnsafeUnpin for PowerDeviceType
impl UnwindSafe for PowerDeviceType
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