[][src]Enum lsm::CachePolicy

pub enum CachePolicy {
    Enabled,
    Auto,
    Disabled,
    Unknown,
    UseDiskSetting,
}

Represent a volume cache policy.

Variants

Enabled

Cache is enabled.

Auto

Storage system will determine whether to use cache based on battery/capacitor health.

Disabled

Cache is disabled.

Unknown

Plugin failed to query cache setting.

UseDiskSetting

Physical disk cache is determined by the disk vendor via physical disks' SCSI caching mode page(0x08 page).

Trait Implementations

impl Clone for CachePolicy[src]

impl Copy for CachePolicy[src]

impl Debug for CachePolicy[src]

impl PartialEq<CachePolicy> for CachePolicy[src]

impl StructuralPartialEq for CachePolicy[src]

Auto Trait Implementations

impl RefUnwindSafe for CachePolicy

impl Send for CachePolicy

impl Sync for CachePolicy

impl Unpin for CachePolicy

impl UnwindSafe for CachePolicy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.