pub enum DevicePathNodeEnum<'a> {
Show 54 variants EndInstance(&'a Instance), EndEntire(&'a Entire), HardwarePci(&'a Pci), HardwarePccard(&'a Pccard), HardwareMemoryMapped(&'a MemoryMapped), HardwareVendor(&'a Vendor), HardwareController(&'a Controller), HardwareBmc(&'a Bmc), AcpiAcpi(&'a Acpi), AcpiExpanded(&'a Expanded), AcpiAdr(&'a Adr), AcpiNvdimm(&'a Nvdimm), MessagingAtapi(&'a Atapi), MessagingScsi(&'a Scsi), MessagingFibreChannel(&'a FibreChannel), MessagingFibreChannelEx(&'a FibreChannelEx), MessagingIeee1394(&'a Ieee1394), MessagingUsb(&'a Usb), MessagingSata(&'a Sata), MessagingUsbWwid(&'a UsbWwid), MessagingDeviceLogicalUnit(&'a DeviceLogicalUnit), MessagingUsbClass(&'a UsbClass), MessagingI2o(&'a I2o), MessagingMacAddress(&'a MacAddress), MessagingIpv4(&'a Ipv4), MessagingIpv6(&'a Ipv6), MessagingVlan(&'a Vlan), MessagingInfiniband(&'a Infiniband), MessagingUart(&'a Uart), MessagingVendor(&'a Vendor), MessagingSasEx(&'a SasEx), MessagingIscsi(&'a Iscsi), MessagingNvmeNamespace(&'a NvmeNamespace), MessagingUri(&'a Uri), MessagingUfs(&'a Ufs), MessagingSd(&'a Sd), MessagingBluetooth(&'a Bluetooth), MessagingWifi(&'a Wifi), MessagingEmmc(&'a Emmc), MessagingBluetoothLe(&'a BluetoothLe), MessagingDns(&'a Dns), MessagingNvdimmNamespace(&'a NvdimmNamespace), MessagingRestService(&'a RestService), MessagingNvmeOfNamespace(&'a NvmeOfNamespace), MediaHardDrive(&'a HardDrive), MediaCdRom(&'a CdRom), MediaVendor(&'a Vendor), MediaFilePath(&'a FilePath), MediaProtocol(&'a Protocol), MediaPiwgFirmwareFile(&'a PiwgFirmwareFile), MediaPiwgFirmwareVolume(&'a PiwgFirmwareVolume), MediaRelativeOffsetRange(&'a RelativeOffsetRange), MediaRamDisk(&'a RamDisk), BiosBootSpecBootSpecification(&'a BootSpecification),
}
Expand description

Enum of references to all the different device path node types. Return type of DevicePathNode::as_enum.

Variants§

§

EndInstance(&'a Instance)

Node that terminates a DevicePathInstance.

§

EndEntire(&'a Entire)

Node that terminates an entire DevicePath.

§

HardwarePci(&'a Pci)

PCI hardware device path node.

§

HardwarePccard(&'a Pccard)

PCCARD hardware device path node.

§

HardwareMemoryMapped(&'a MemoryMapped)

Memory mapped hardware device path node.

§

HardwareVendor(&'a Vendor)

Vendor-defined hardware device path node.

§

HardwareController(&'a Controller)

Controller hardware device path node.

§

HardwareBmc(&'a Bmc)

Baseboard Management Controller (BMC) host interface hardware device path node.

§

AcpiAcpi(&'a Acpi)

ACPI device path node.

§

AcpiExpanded(&'a Expanded)

Expanded ACPI device path node.

§

AcpiAdr(&'a Adr)

ADR ACPI device path node.

§

AcpiNvdimm(&'a Nvdimm)

NVDIMM ACPI device path node.

§

MessagingAtapi(&'a Atapi)

ATAPI messaging device path node.

§

MessagingScsi(&'a Scsi)

SCSI messaging device path node.

§

MessagingFibreChannel(&'a FibreChannel)

Fibre channel messaging device path node.

§

MessagingFibreChannelEx(&'a FibreChannelEx)

Fibre channel extended messaging device path node.

§

MessagingIeee1394(&'a Ieee1394)

1394 messaging device path node.

§

MessagingUsb(&'a Usb)

USB messaging device path node.

§

MessagingSata(&'a Sata)

SATA messaging device path node.

§

MessagingUsbWwid(&'a UsbWwid)

USB World Wide ID (WWID) messaging device path node.

§

MessagingDeviceLogicalUnit(&'a DeviceLogicalUnit)

Device logical unit messaging device path node.

§

MessagingUsbClass(&'a UsbClass)

USB class messaging device path node.

§

MessagingI2o(&'a I2o)

I2O messaging device path node.

§

MessagingMacAddress(&'a MacAddress)

MAC address messaging device path node.

§

MessagingIpv4(&'a Ipv4)

IPv4 messaging device path node.

§

MessagingIpv6(&'a Ipv6)

IPv6 messaging device path node.

§

MessagingVlan(&'a Vlan)

VLAN messaging device path node.

§

MessagingInfiniband(&'a Infiniband)

InfiniBand messaging device path node.

§

MessagingUart(&'a Uart)

UART messaging device path node.

§

MessagingVendor(&'a Vendor)

Vendor-defined messaging device path node.

§

MessagingSasEx(&'a SasEx)

Serial Attached SCSI (SAS) extended messaging device path node.

§

MessagingIscsi(&'a Iscsi)

iSCSI messaging device path node.

§

MessagingNvmeNamespace(&'a NvmeNamespace)

NVM Express namespace messaging device path node.

§

MessagingUri(&'a Uri)

Uniform Resource Identifier (URI) messaging device path node.

§

MessagingUfs(&'a Ufs)

Universal Flash Storage (UFS) messaging device path node.

§

MessagingSd(&'a Sd)

Secure Digital (SD) messaging device path node.

§

MessagingBluetooth(&'a Bluetooth)

Bluetooth messaging device path node.

§

MessagingWifi(&'a Wifi)

Wi-Fi messaging device path node.

§

MessagingEmmc(&'a Emmc)

Embedded Multi-Media Card (eMMC) messaging device path node.

§

MessagingBluetoothLe(&'a BluetoothLe)

BluetoothLE messaging device path node.

§

MessagingDns(&'a Dns)

DNS messaging device path node.

§

MessagingNvdimmNamespace(&'a NvdimmNamespace)

NVDIMM namespace messaging device path node.

§

MessagingRestService(&'a RestService)

REST service messaging device path node.

§

MessagingNvmeOfNamespace(&'a NvmeOfNamespace)

NVME over Fabric (NVMe-oF) namespace messaging device path node.

§

MediaHardDrive(&'a HardDrive)

Hard drive media device path node.

§

MediaCdRom(&'a CdRom)

CD-ROM media device path node.

§

MediaVendor(&'a Vendor)

Vendor-defined media device path node.

§

MediaFilePath(&'a FilePath)

File path media device path node.

§

MediaProtocol(&'a Protocol)

Media protocol media device path node.

§

MediaPiwgFirmwareFile(&'a PiwgFirmwareFile)

PIWG firmware file media device path node.

§

MediaPiwgFirmwareVolume(&'a PiwgFirmwareVolume)

PIWG firmware volume media device path node.

§

MediaRelativeOffsetRange(&'a RelativeOffsetRange)

Relative offset range media device path node.

§

MediaRamDisk(&'a RamDisk)

RAM disk media device path node.

§

BiosBootSpecBootSpecification(&'a BootSpecification)

BIOS Boot Specification device path node.

Trait Implementations§

source§

impl<'a> TryFrom<&DevicePathNode> for DevicePathNodeEnum<'a>

§

type Error = NodeConversionError

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

fn try_from(node: &DevicePathNode) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.