Struct uefi::proto::device_path::DeviceSubType

source ·
pub struct DeviceSubType(pub u8);
Expand description

Sub-type identifier for a DevicePath

Tuple Fields§

§0: u8

Implementations§

source§

impl DeviceSubType

source

pub const HARDWARE_PCI: DeviceSubType = _

PCI Device Path.

source

pub const HARDWARE_PCCARD: DeviceSubType = _

PCCARD Device Path.

source

pub const HARDWARE_MEMORY_MAPPED: DeviceSubType = _

Memory-mapped Device Path.

source

pub const HARDWARE_VENDOR: DeviceSubType = _

Vendor-Defined Device Path.

source

pub const HARDWARE_CONTROLLER: DeviceSubType = _

Controller Device Path.

source

pub const HARDWARE_BMC: DeviceSubType = _

BMC Device Path.

source

pub const ACPI: DeviceSubType = _

ACPI Device Path.

source

pub const ACPI_EXPANDED: DeviceSubType = _

Expanded ACPI Device Path.

source

pub const ACPI_ADR: DeviceSubType = _

ACPI _ADR Device Path.

source

pub const ACPI_NVDIMM: DeviceSubType = _

NVDIMM Device Path.

source

pub const MESSAGING_ATAPI: DeviceSubType = _

ATAPI Device Path.

source

pub const MESSAGING_SCSI: DeviceSubType = _

SCSI Device Path.

source

pub const MESSAGING_FIBRE_CHANNEL: DeviceSubType = _

Fibre Channel Device Path.

source

pub const MESSAGING_1394: DeviceSubType = _

1394 Device Path.

source

pub const MESSAGING_USB: DeviceSubType = _

USB Device Path.

source

pub const MESSAGING_I2O: DeviceSubType = _

I2O Device Path.

source

pub const MESSAGING_INFINIBAND: DeviceSubType = _

Infiniband Device Path.

source

pub const MESSAGING_VENDOR: DeviceSubType = _

Vendor-Defined Device Path.

source

pub const MESSAGING_MAC_ADDRESS: DeviceSubType = _

MAC Address Device Path.

source

pub const MESSAGING_IPV4: DeviceSubType = _

IPV4 Device Path.

source

pub const MESSAGING_IPV6: DeviceSubType = _

IPV6 Device Path.

source

pub const MESSAGING_UART: DeviceSubType = _

UART Device Path.

source

pub const MESSAGING_USB_CLASS: DeviceSubType = _

USB Class Device Path.

source

pub const MESSAGING_USB_WWID: DeviceSubType = _

USB WWID Device Path.

source

pub const MESSAGING_DEVICE_LOGICAL_UNIT: DeviceSubType = _

Device Logical Unit.

source

pub const MESSAGING_SATA: DeviceSubType = _

SATA Device Path.

source

pub const MESSAGING_ISCSI: DeviceSubType = _

iSCSI Device Path node (base information).

source

pub const MESSAGING_VLAN: DeviceSubType = _

VLAN Device Path node.

source

pub const MESSAGING_FIBRE_CHANNEL_EX: DeviceSubType = _

Fibre Channel Ex Device Path.

source

pub const MESSAGING_SCSI_SAS_EX: DeviceSubType = _

Serial Attached SCSI (SAS) Ex Device Path.

source

pub const MESSAGING_NVME_NAMESPACE: DeviceSubType = _

NVM Express Namespace Device Path.

source

pub const MESSAGING_URI: DeviceSubType = _

Uniform Resource Identifiers (URI) Device Path.

source

pub const MESSAGING_UFS: DeviceSubType = _

UFS Device Path.

source

pub const MESSAGING_SD: DeviceSubType = _

SD (Secure Digital) Device Path.

source

pub const MESSAGING_BLUETOOTH: DeviceSubType = _

Bluetooth Device Path.

source

pub const MESSAGING_WIFI: DeviceSubType = _

Wi-Fi Device Path.

source

pub const MESSAGING_EMMC: DeviceSubType = _

eMMC (Embedded Multi-Media Card) Device Path.

source

pub const MESSAGING_BLUETOOTH_LE: DeviceSubType = _

BluetoothLE Device Path.

source

pub const MESSAGING_DNS: DeviceSubType = _

DNS Device Path.

source

pub const MESSAGING_NVDIMM_NAMESPACE: DeviceSubType = _

NVDIMM Namespace Device Path.

source

pub const MESSAGING_REST_SERVICE: DeviceSubType = _

REST Service Device Path.

source

pub const MESSAGING_NVME_OF_NAMESPACE: DeviceSubType = _

NVME over Fabric (NVMe-oF) Namespace Device Path.

source

pub const MEDIA_HARD_DRIVE: DeviceSubType = _

Hard Drive Media Device Path.

source

pub const MEDIA_CD_ROM: DeviceSubType = _

CD-ROM Media Device Path.

source

pub const MEDIA_VENDOR: DeviceSubType = _

Vendor-Defined Media Device Path.

source

pub const MEDIA_FILE_PATH: DeviceSubType = _

File Path Media Device Path.

source

pub const MEDIA_PROTOCOL: DeviceSubType = _

Media Protocol Device Path.

source

pub const MEDIA_PIWG_FIRMWARE_FILE: DeviceSubType = _

PIWG Firmware File.

source

pub const MEDIA_PIWG_FIRMWARE_VOLUME: DeviceSubType = _

PIWG Firmware Volume.

source

pub const MEDIA_RELATIVE_OFFSET_RANGE: DeviceSubType = _

Relative Offset Range.

source

pub const MEDIA_RAM_DISK: DeviceSubType = _

RAM Disk Device Path.

source

pub const BIOS_BOOT_SPECIFICATION: DeviceSubType = _

BIOS Boot Specification Device Path.

source

pub const END_INSTANCE: DeviceSubType = _

End this instance of a Device Path and start a new one.

source

pub const END_ENTIRE: DeviceSubType = _

End entire Device Path.

Trait Implementations§

source§

impl Clone for DeviceSubType

source§

fn clone(&self) -> DeviceSubType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceSubType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for DeviceSubType

source§

fn eq(&self, other: &DeviceSubType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for DeviceSubType

source§

impl Eq for DeviceSubType

source§

impl StructuralPartialEq for DeviceSubType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.