#[repr(transparent)]pub struct DeviceSubType(pub u8);
Expand description
Sub-type identifier for a device path node.
Tuple Fields§
§0: u8
Implementations§
source§impl DeviceSubType
impl DeviceSubType
sourcepub const HARDWARE_PCI: Self = _
pub const HARDWARE_PCI: Self = _
PCI Device Path.
sourcepub const HARDWARE_PCCARD: Self = _
pub const HARDWARE_PCCARD: Self = _
PCCARD Device Path.
sourcepub const HARDWARE_MEMORY_MAPPED: Self = _
pub const HARDWARE_MEMORY_MAPPED: Self = _
Memory-mapped Device Path.
sourcepub const HARDWARE_VENDOR: Self = _
pub const HARDWARE_VENDOR: Self = _
Vendor-Defined Device Path.
sourcepub const HARDWARE_CONTROLLER: Self = _
pub const HARDWARE_CONTROLLER: Self = _
Controller Device Path.
sourcepub const HARDWARE_BMC: Self = _
pub const HARDWARE_BMC: Self = _
BMC Device Path.
sourcepub const ACPI_EXPANDED: Self = _
pub const ACPI_EXPANDED: Self = _
Expanded ACPI Device Path.
sourcepub const ACPI_NVDIMM: Self = _
pub const ACPI_NVDIMM: Self = _
NVDIMM Device Path.
sourcepub const MESSAGING_ATAPI: Self = _
pub const MESSAGING_ATAPI: Self = _
ATAPI Device Path.
sourcepub const MESSAGING_SCSI: Self = _
pub const MESSAGING_SCSI: Self = _
SCSI Device Path.
sourcepub const MESSAGING_FIBRE_CHANNEL: Self = _
pub const MESSAGING_FIBRE_CHANNEL: Self = _
Fibre Channel Device Path.
sourcepub const MESSAGING_1394: Self = _
pub const MESSAGING_1394: Self = _
1394 Device Path.
sourcepub const MESSAGING_USB: Self = _
pub const MESSAGING_USB: Self = _
USB Device Path.
sourcepub const MESSAGING_I2O: Self = _
pub const MESSAGING_I2O: Self = _
I2O Device Path.
sourcepub const MESSAGING_INFINIBAND: Self = _
pub const MESSAGING_INFINIBAND: Self = _
Infiniband Device Path.
sourcepub const MESSAGING_VENDOR: Self = _
pub const MESSAGING_VENDOR: Self = _
Vendor-Defined Device Path.
sourcepub const MESSAGING_MAC_ADDRESS: Self = _
pub const MESSAGING_MAC_ADDRESS: Self = _
MAC Address Device Path.
sourcepub const MESSAGING_IPV4: Self = _
pub const MESSAGING_IPV4: Self = _
IPV4 Device Path.
sourcepub const MESSAGING_IPV6: Self = _
pub const MESSAGING_IPV6: Self = _
IPV6 Device Path.
sourcepub const MESSAGING_UART: Self = _
pub const MESSAGING_UART: Self = _
UART Device Path.
sourcepub const MESSAGING_USB_CLASS: Self = _
pub const MESSAGING_USB_CLASS: Self = _
USB Class Device Path.
sourcepub const MESSAGING_USB_WWID: Self = _
pub const MESSAGING_USB_WWID: Self = _
USB WWID Device Path.
sourcepub const MESSAGING_DEVICE_LOGICAL_UNIT: Self = _
pub const MESSAGING_DEVICE_LOGICAL_UNIT: Self = _
Device Logical Unit.
sourcepub const MESSAGING_SATA: Self = _
pub const MESSAGING_SATA: Self = _
SATA Device Path.
sourcepub const MESSAGING_ISCSI: Self = _
pub const MESSAGING_ISCSI: Self = _
iSCSI Device Path node (base information).
sourcepub const MESSAGING_VLAN: Self = _
pub const MESSAGING_VLAN: Self = _
VLAN Device Path node.
sourcepub const MESSAGING_FIBRE_CHANNEL_EX: Self = _
pub const MESSAGING_FIBRE_CHANNEL_EX: Self = _
Fibre Channel Ex Device Path.
sourcepub const MESSAGING_SCSI_SAS_EX: Self = _
pub const MESSAGING_SCSI_SAS_EX: Self = _
Serial Attached SCSI (SAS) Ex Device Path.
sourcepub const MESSAGING_NVME_NAMESPACE: Self = _
pub const MESSAGING_NVME_NAMESPACE: Self = _
NVM Express Namespace Device Path.
sourcepub const MESSAGING_URI: Self = _
pub const MESSAGING_URI: Self = _
Uniform Resource Identifiers (URI) Device Path.
sourcepub const MESSAGING_UFS: Self = _
pub const MESSAGING_UFS: Self = _
UFS Device Path.
sourcepub const MESSAGING_SD: Self = _
pub const MESSAGING_SD: Self = _
SD (Secure Digital) Device Path.
sourcepub const MESSAGING_BLUETOOTH: Self = _
pub const MESSAGING_BLUETOOTH: Self = _
Bluetooth Device Path.
sourcepub const MESSAGING_WIFI: Self = _
pub const MESSAGING_WIFI: Self = _
Wi-Fi Device Path.
sourcepub const MESSAGING_EMMC: Self = _
pub const MESSAGING_EMMC: Self = _
eMMC (Embedded Multi-Media Card) Device Path.
sourcepub const MESSAGING_BLUETOOTH_LE: Self = _
pub const MESSAGING_BLUETOOTH_LE: Self = _
BluetoothLE Device Path.
sourcepub const MESSAGING_DNS: Self = _
pub const MESSAGING_DNS: Self = _
DNS Device Path.
sourcepub const MESSAGING_NVDIMM_NAMESPACE: Self = _
pub const MESSAGING_NVDIMM_NAMESPACE: Self = _
NVDIMM Namespace Device Path.
sourcepub const MESSAGING_REST_SERVICE: Self = _
pub const MESSAGING_REST_SERVICE: Self = _
REST Service Device Path.
sourcepub const MESSAGING_NVME_OF_NAMESPACE: Self = _
pub const MESSAGING_NVME_OF_NAMESPACE: Self = _
NVME over Fabric (NVMe-oF) Namespace Device Path.
sourcepub const MEDIA_HARD_DRIVE: Self = _
pub const MEDIA_HARD_DRIVE: Self = _
Hard Drive Media Device Path.
sourcepub const MEDIA_CD_ROM: Self = _
pub const MEDIA_CD_ROM: Self = _
CD-ROM Media Device Path.
sourcepub const MEDIA_VENDOR: Self = _
pub const MEDIA_VENDOR: Self = _
Vendor-Defined Media Device Path.
sourcepub const MEDIA_FILE_PATH: Self = _
pub const MEDIA_FILE_PATH: Self = _
File Path Media Device Path.
sourcepub const MEDIA_PROTOCOL: Self = _
pub const MEDIA_PROTOCOL: Self = _
Media Protocol Device Path.
sourcepub const MEDIA_PIWG_FIRMWARE_FILE: Self = _
pub const MEDIA_PIWG_FIRMWARE_FILE: Self = _
PIWG Firmware File.
sourcepub const MEDIA_PIWG_FIRMWARE_VOLUME: Self = _
pub const MEDIA_PIWG_FIRMWARE_VOLUME: Self = _
PIWG Firmware Volume.
sourcepub const MEDIA_RELATIVE_OFFSET_RANGE: Self = _
pub const MEDIA_RELATIVE_OFFSET_RANGE: Self = _
Relative Offset Range.
sourcepub const MEDIA_RAM_DISK: Self = _
pub const MEDIA_RAM_DISK: Self = _
RAM Disk Device Path.
sourcepub const BIOS_BOOT_SPECIFICATION: Self = _
pub const BIOS_BOOT_SPECIFICATION: Self = _
BIOS Boot Specification Device Path.
sourcepub const END_INSTANCE: Self = _
pub const END_INSTANCE: Self = _
End this instance of a Device Path and start a new one.
sourcepub const END_ENTIRE: Self = _
pub const END_ENTIRE: Self = _
End entire Device Path.
Trait Implementations§
source§impl Clone for DeviceSubType
impl Clone for DeviceSubType
source§fn clone(&self) -> DeviceSubType
fn clone(&self) -> DeviceSubType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeviceSubType
impl Debug for DeviceSubType
source§impl Hash for DeviceSubType
impl Hash for DeviceSubType
source§impl Ord for DeviceSubType
impl Ord for DeviceSubType
source§fn cmp(&self, other: &DeviceSubType) -> Ordering
fn cmp(&self, other: &DeviceSubType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for DeviceSubType
impl PartialEq for DeviceSubType
source§impl PartialOrd for DeviceSubType
impl PartialOrd for DeviceSubType
impl Copy for DeviceSubType
impl Eq for DeviceSubType
impl StructuralPartialEq for DeviceSubType
Auto Trait Implementations§
impl Freeze for DeviceSubType
impl RefUnwindSafe for DeviceSubType
impl Send for DeviceSubType
impl Sync for DeviceSubType
impl Unpin for DeviceSubType
impl UnwindSafe for DeviceSubType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)