pub enum EfiDevicePathProtocol<'a> {
Hardware(HardwareDevice<'a>),
Acpi(AcpiDevice<'a>),
Messaging(MessagingDevice<'a>),
Media(MediaDevice<'a>),
End(EndDevice<'a>),
Unknown {
device_type: EfiDeviceType,
device_subtype: u8,
path_data: &'a [u8],
},
}
Variants§
Hardware(HardwareDevice<'a>)
Acpi(AcpiDevice<'a>)
Messaging(MessagingDevice<'a>)
Media(MediaDevice<'a>)
End(EndDevice<'a>)
Unknown
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EfiDevicePathProtocol<'a>
impl<'a> RefUnwindSafe for EfiDevicePathProtocol<'a>
impl<'a> Send for EfiDevicePathProtocol<'a>
impl<'a> Sync for EfiDevicePathProtocol<'a>
impl<'a> Unpin for EfiDevicePathProtocol<'a>
impl<'a> UnwindSafe for EfiDevicePathProtocol<'a>
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