pub enum MediaDevice<'a> {
HardDrive(EfiHardDriveDevice),
File(&'a Ucs2LeSlice),
PiwgFirmwareFile(Guid),
PiwgFirmwareVolume(Guid),
Unknown {
device_subtype: EfiMediaDeviceSubType,
path_data: &'a [u8],
},
}
Variants§
HardDrive(EfiHardDriveDevice)
File(&'a Ucs2LeSlice)
PiwgFirmwareFile(Guid)
PiwgFirmwareVolume(Guid)
Unknown
Trait Implementations§
source§impl<'a> Debug for MediaDevice<'a>
impl<'a> Debug for MediaDevice<'a>
source§impl<'a> PartialEq for MediaDevice<'a>
impl<'a> PartialEq for MediaDevice<'a>
impl<'a> StructuralPartialEq for MediaDevice<'a>
Auto Trait Implementations§
impl<'a> Freeze for MediaDevice<'a>
impl<'a> RefUnwindSafe for MediaDevice<'a>
impl<'a> Send for MediaDevice<'a>
impl<'a> Sync for MediaDevice<'a>
impl<'a> Unpin for MediaDevice<'a>
impl<'a> UnwindSafe for MediaDevice<'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