[][src]Enum libzetta::zpool::properties::FailMode

pub enum FailMode {
    Wait,
    Continue,
    Panic,
}

Controls the system behavior in the event of catastrophic pool failure.

Variants

Wait

Blocks all I/O access until the device connectivity is recovered and the errors are cleared. This is the default behavior.

Continue

Returns EIO to any new write I/O requests but allows reads to any of the remaining healthy devices. Any write requests that have yet to be committed to disk would be blocked.

Panic

Prints out a message to the console and generates a system crash dump.

Trait Implementations

impl Clone for FailMode[src]

impl Debug for FailMode[src]

impl Eq for FailMode[src]

impl PartialEq<FailMode> for FailMode[src]

impl PropPair for FailMode[src]

impl StructuralEq for FailMode[src]

impl StructuralPartialEq for FailMode[src]

Auto Trait Implementations

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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[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.