[−][src]Enum custom_codes::HardwareResources
Hardware Resources of a physical computer
Variants
CpuUnderHeavyLoad
CPU is under heavy load
RamUnderHeavyLoad
RAM is under heavy load
CpuMaxed
CPU is maxed out
CpuIdle
Cpu is idle
CpuTempOk
CPU heat is normal
CpuThrottling
CPU heat is high
EthernetDevUp
Etherned Card Available for use
EthernetDevDown
Ethernet is unavailavle for use
EthernetDevAccessed
Ethernet card accessed by processed
CarrierDevUp
Carrier chip available
CarrierDevDown
Carrier chip unavailable
CarrierDevChipMissing
Carrier chip does not exist in hardware
DriverMissing
Drivers are missing for components listed
OpticDevUp
Camera or optical module available
OpticDevDown
Camera or optical module unavailable
OpticalDevAccessed
Camera or optical module accessed
OpticalDevAccessDenied
Camera or optical module access is denied
OpticalDevPoweredOff
Camera or optical module powered off
OticalDevChipMissing
Optical chip does not exist in hardware
NfcDevUp
NFC device is available
NfcDevDown
NFC device is unavailable
NfcDevActive
NFC device is active
NfcDevPaired
NFC device is paired to other device
NfcDevAccessed
NFC device is accessed
NfcDevDenied
NFC device access is denied
NfcDevClosed
NFC device is closed
NfcDevPoweredOff
NFC device is powered of
WiFiDevUp
WiFi module avaliable
WiFiDevDown
WiFi module unavaliable
WiFiDevAccessDenied
WiFi module access is denied,
WiFiDevPoweredOff
WiFi module powered off
WiFiDevAccessed
WiFi has been accessed by process
WiFiDevHotSpotMode
WiFi is in hotspot mode
BluetoothDevUp
Bluetooth is available
BluetoothDevPaired
Bluetooth is paired
BluetoothDevDevTrusted
Bluetooth device is trusted
BluetoothDevDevUntrusted
Bluetooth has been untrusted
BluetoothDevAccessDenied
Bluetooth access is denied
BluetoothDevUnpaired
Bluetooth device has been unpaired
Bluetooth is in share mode for data
BluetoothDevSinkMode
Bluetooth is in audio or data sink
BluetoothDevTxMode
Bluetooth is transmitting
BluetoothDevRxMode
Bluetooth is Receiving
BluetoothDevClosed
Bluetooth is closed
BluetoothDevPowerOff
Bluetooth is powered off
BluetoothDevDown
Bluetooth is unavailable
UsbDevUp
USB controller is available
UsbDevDown
USB controller is available
UsbDevPoweredOff
USB controller is powered off
UsbDevAdded
USB device has been added
UsbDevTxMode
USB is transmitting
UsbDevRxMode
USB is recieving
UsbDevRemoved
USB device has been removed
UsbDevAccessDenied
USB device access is denied
GpsDevUp
GPS module available
GpsDevDown
GPS module unavailable
GpsDevTxMode
GPS is transmitting
GpsDevRxmode
GPS module receiving
GpsDevAccessDenied
GPS Device access denied
AirplaneMode
The device is in airplane mode
Trait Implementations
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]
This method tests for !=
.
impl Clone for HardwareResources
[src]
fn clone(&self) -> HardwareResources
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for HardwareResources
[src]
impl Debug for HardwareResources
[src]
impl Serialize for HardwareResources
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for HardwareResources
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for HardwareResources
impl Sync for HardwareResources
impl Send for HardwareResources
impl RefUnwindSafe for HardwareResources
impl UnwindSafe for HardwareResources
Blanket Implementations
impl<T> From<T> for T
[src]
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,