Struct uefi::proto::device_path::DevicePath [−][src]
#[repr(C)]pub struct DevicePath { pub device_type: DeviceType, pub sub_type: DeviceSubType, pub length: [u8; 2], }
Expand description
Device path protocol.
This can be opened on a LoadedImage.device()
handle using the HandleProtocol
boot service.
Fields
device_type: DeviceType
Expand description
Type of device
sub_type: DeviceSubType
Expand description
Sub type of device
length: [u8; 2]
Expand description
Data related to device path
The device_type
and sub_type
determine the kind of data, and its size.