Enum sysfuss::PowerSupplyType
source · pub enum PowerSupplyType {
Battery,
UPS,
Mains,
USB,
Wireless,
}Expand description
power_supply/
Variants§
Trait Implementations§
source§impl Clone for PowerSupplyType
impl Clone for PowerSupplyType
source§fn clone(&self) -> PowerSupplyType
fn clone(&self) -> PowerSupplyType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Display for PowerSupplyType
impl Display for PowerSupplyType
source§impl FromStr for PowerSupplyType
impl FromStr for PowerSupplyType
source§impl PartialEq<PowerSupplyType> for PowerSupplyType
impl PartialEq<PowerSupplyType> for PowerSupplyType
source§fn eq(&self, other: &PowerSupplyType) -> bool
fn eq(&self, other: &PowerSupplyType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PowerSupplyType
impl Eq for PowerSupplyType
impl StructuralEq for PowerSupplyType
impl StructuralPartialEq for PowerSupplyType
Auto Trait Implementations§
impl RefUnwindSafe for PowerSupplyType
impl Send for PowerSupplyType
impl Sync for PowerSupplyType
impl Unpin for PowerSupplyType
impl UnwindSafe for PowerSupplyType
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