pub enum DeviceClass {
Show 23 variants
UnclassifiedDevice,
MassStorageController,
NetworkController,
DisplayController,
MultimediaController,
MemoryController,
Bridge,
CommunicationController,
GenericSystemPeripheral,
InputDeviceController,
DockingStation,
Processor,
SerialBusController,
WirelessController,
IntelligentController,
SatelliteCommunicationsController,
EncryptionController,
SignalProcessingController,
ProcessingAccelerators,
NonEssentialInstrumentation,
Coprocessor,
UnassignedClass,
Other,
}
Variants§
UnclassifiedDevice
An unclassified device.
MassStorageController
A mass storage controller.
NetworkController
A network controller.
DisplayController
A display controller.
MultimediaController
A multimedia controller.
MemoryController
A memory controller.
Bridge
A bridge.
CommunicationController
A communication controller.
GenericSystemPeripheral
A generic system peripheral.
InputDeviceController
An input device controller.
DockingStation
A docking station.
Processor
A processor.
SerialBusController
A serial bus controller.
WirelessController
A wireless controller.
IntelligentController
An intelligent controller.
SatelliteCommunicationsController
A satellite communications controller.
EncryptionController
An encryption controller.
SignalProcessingController
A signal processing controller.
ProcessingAccelerators
A processing accelerators.
NonEssentialInstrumentation
A non-essential instrumentation.
Coprocessor
A coprocessor.
UnassignedClass
An unassigned class.
Other
Other class. The function Class Code needs to be verified.
Trait Implementations§
Source§impl Clone for DeviceClass
impl Clone for DeviceClass
Source§fn clone(&self) -> DeviceClass
fn clone(&self) -> DeviceClass
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeviceClass
impl Debug for DeviceClass
Source§impl Default for DeviceClass
impl Default for DeviceClass
Source§fn default() -> DeviceClass
fn default() -> DeviceClass
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceClass
impl<'de> Deserialize<'de> for DeviceClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for DeviceClass
impl Metadata<'static> for DeviceClass
Source§const JSON_SCHEMA: &'static str = "PCIeFunction.v1_5_0.json"
const JSON_SCHEMA: &'static str = "PCIeFunction.v1_5_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for DeviceClass
impl RefUnwindSafe for DeviceClass
impl Send for DeviceClass
impl Sync for DeviceClass
impl Unpin for DeviceClass
impl UnwindSafe for DeviceClass
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