pub enum HardwareDevice<'a> {
MemoryMapped(EfiMemoryMappedDevice),
Vendor {
vendor_guid: Guid,
data: &'a [u8],
},
Unknown {
device_subtype: EfiHardwareDeviceSubType,
path_data: &'a [u8],
},
}
Variants§
Trait Implementations§
source§impl<'a> Debug for HardwareDevice<'a>
impl<'a> Debug for HardwareDevice<'a>
source§impl<'a> PartialEq for HardwareDevice<'a>
impl<'a> PartialEq for HardwareDevice<'a>
impl<'a> StructuralPartialEq for HardwareDevice<'a>
Auto Trait Implementations§
impl<'a> Freeze for HardwareDevice<'a>
impl<'a> RefUnwindSafe for HardwareDevice<'a>
impl<'a> Send for HardwareDevice<'a>
impl<'a> Sync for HardwareDevice<'a>
impl<'a> Unpin for HardwareDevice<'a>
impl<'a> UnwindSafe for HardwareDevice<'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