#[repr(i32)]pub enum DiskType {
Show 13 variants
Unknown = 0,
Other = 1,
Ata = 3,
Sata = 4,
Sas = 5,
Fc = 6,
Sop = 7,
Scsi = 8,
Lun = 9,
NlSas = 51,
Hdd = 52,
Ssd = 53,
Hybrid = 54,
}
Expand description
Represent disk type.
Variants§
Unknown = 0
Plugin failed to query disk type.
Other = 1
Vendor specific disk type.
Ata = 3
IDE disk.
Sata = 4
SATA disk.
Sas = 5
SAS disk.
Fc = 6
FC disk.
Sop = 7
SCSI over PCI-Express.
Scsi = 8
SCSI disk.
Lun = 9
Remote LUN from SAN array.
NlSas = 51
Near-Line SAS, just SATA disk + SAS port.
Hdd = 52
Normal HDD, fall back value if failed to detect HDD type(SAS/SATA/etc).
Ssd = 53
Solid State Drive.
Hybrid = 54
Hybrid disk uses a combination of HDD and SSD.
Trait Implementations§
impl Copy for DiskType
impl StructuralPartialEq for DiskType
Auto Trait Implementations§
impl Freeze for DiskType
impl RefUnwindSafe for DiskType
impl Send for DiskType
impl Sync for DiskType
impl Unpin for DiskType
impl UnwindSafe for DiskType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)