#[repr(i8)]pub enum SystemMode {
Unknown = -2,
NoSupport = -1,
HardwareRaid = 0,
Hba = 1,
}
Variants§
Unknown = -2
Plugin failed to query system mode.
NoSupport = -1
Plugin does not support querying system mode.
HardwareRaid = 0
The storage system is a hardware RAID card(like HP SmartArray and LSI MegaRAID) and could expose the logical volume(aka, RAIDed virtual disk) to OS while hardware RAID card is handling the RAID algorithm. In this mode, storage system cannot expose physical disk directly to OS.
Hba = 1
The physical disks can be exposed to OS directly without any configurations. SCSI enclosure service might be exposed to OS also.
Trait Implementations§
source§impl Clone for SystemMode
impl Clone for SystemMode
source§fn clone(&self) -> SystemMode
fn clone(&self) -> SystemMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SystemMode
impl Debug for SystemMode
source§impl PartialEq for SystemMode
impl PartialEq for SystemMode
impl Copy for SystemMode
impl StructuralPartialEq for SystemMode
Auto Trait Implementations§
impl Freeze for SystemMode
impl RefUnwindSafe for SystemMode
impl Send for SystemMode
impl Sync for SystemMode
impl Unpin for SystemMode
impl UnwindSafe for SystemMode
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
)