[−][src]Enum custom_codes::HardwareResources
Hardware Resources of a physical computer
Examples
let foo = HardwareResources::CpuMaxed; assert_eq!(foo, HardwareResources::CpuMaxed);
Variants
CPU is under heavy load
RAM is under heavy load
CPU is maxed out
CPU is Overclocked
CPU is underclocked eg. to save power
Cpu is idle
CPU heat is normal
CPU heat is high
Etherned Card Available for use
Ethernet is unavailavle for use
Ethernet card accessed by processed
Carrier chip available
Carrier chip unavailable
Carrier chip does not exist in hardware
Drivers are missing for components listed
Camera or optical module available
Camera or optical module unavailable
Camera or optical module accessed
Camera or optical module access is denied
Camera or optical module powered off
Optical chip does not exist in hardware
NFC device is available
NFC device is unavailable
NFC device is active
NFC device is paired to other device
NFC device is accessed
NFC device access is denied
NFC device is closed
NFC device is powered of
WiFi module avaliable
WiFi module unavaliable
WiFi module access is denied,
WiFi module powered off
WiFi has been accessed by process
WiFi is in hotspot mode
Bluetooth is available
Bluetooth is paired
Bluetooth device is trusted
Bluetooth has been untrusted
Bluetooth access is denied
Bluetooth device has been unpaired
Bluetooth is in share mode for data
Bluetooth is in audio or data sink
Bluetooth is transmitting
Bluetooth is Receiving
Bluetooth is closed
Bluetooth is powered off
Bluetooth is unavailable
USB controller is available
USB controller is available
USB controller is powered off
USB device has been added
USB is transmitting
USB is recieving
USB device has been removed
USB device access is denied
GPS module available
GPS module unavailable
GPS is transmitting
GPS module receiving
GPS Device access denied
The device is in airplane mode
Hardware not specified
Trait Implementations
impl Clone for HardwareResources
[src]
fn clone(&self) -> HardwareResources
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HardwareResources
[src]
impl<'de> Deserialize<'de> for HardwareResources
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for HardwareResources
[src]
impl PartialEq<HardwareResources> for HardwareResources
[src]
fn eq(&self, other: &HardwareResources) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for HardwareResources
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for HardwareResources
[src]
impl StructuralPartialEq for HardwareResources
[src]
Auto Trait Implementations
impl RefUnwindSafe for HardwareResources
impl Send for HardwareResources
impl Sync for HardwareResources
impl Unpin for HardwareResources
impl UnwindSafe for HardwareResources
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,