#[non_exhaustive]#[repr(u32)]pub enum PedDeviceType {
Show 22 variants
PED_DEVICE_UNKNOWN = 0,
PED_DEVICE_SCSI = 1,
PED_DEVICE_IDE = 2,
PED_DEVICE_DAC960 = 3,
PED_DEVICE_CPQARRAY = 4,
PED_DEVICE_FILE = 5,
PED_DEVICE_ATARAID = 6,
PED_DEVICE_I2O = 7,
PED_DEVICE_UBD = 8,
PED_DEVICE_DASD = 9,
PED_DEVICE_VIODASD = 10,
PED_DEVICE_SX8 = 11,
PED_DEVICE_DM = 12,
PED_DEVICE_XVD = 13,
PED_DEVICE_SDMMC = 14,
PED_DEVICE_VIRTBLK = 15,
PED_DEVICE_AOE = 16,
PED_DEVICE_MD = 17,
PED_DEVICE_LOOP = 18,
PED_DEVICE_NVME = 19,
PED_DEVICE_RAM = 20,
PED_DEVICE_PMEM = 21,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PED_DEVICE_UNKNOWN = 0
PED_DEVICE_SCSI = 1
PED_DEVICE_IDE = 2
PED_DEVICE_DAC960 = 3
PED_DEVICE_CPQARRAY = 4
PED_DEVICE_FILE = 5
PED_DEVICE_ATARAID = 6
PED_DEVICE_I2O = 7
PED_DEVICE_UBD = 8
PED_DEVICE_DASD = 9
PED_DEVICE_VIODASD = 10
PED_DEVICE_SX8 = 11
PED_DEVICE_DM = 12
PED_DEVICE_XVD = 13
PED_DEVICE_SDMMC = 14
PED_DEVICE_VIRTBLK = 15
PED_DEVICE_AOE = 16
PED_DEVICE_MD = 17
PED_DEVICE_LOOP = 18
PED_DEVICE_NVME = 19
PED_DEVICE_RAM = 20
PED_DEVICE_PMEM = 21
Trait Implementations§
Source§impl Clone for PedDeviceType
impl Clone for PedDeviceType
Source§fn clone(&self) -> PedDeviceType
fn clone(&self) -> PedDeviceType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PedDeviceType
impl Debug for PedDeviceType
Source§impl Hash for PedDeviceType
impl Hash for PedDeviceType
Source§impl PartialEq for PedDeviceType
impl PartialEq for PedDeviceType
impl Copy for PedDeviceType
impl Eq for PedDeviceType
impl StructuralPartialEq for PedDeviceType
Auto Trait Implementations§
impl Freeze for PedDeviceType
impl RefUnwindSafe for PedDeviceType
impl Send for PedDeviceType
impl Sync for PedDeviceType
impl Unpin for PedDeviceType
impl UnwindSafe for PedDeviceType
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