[][src]Struct libzetta::zpool::open3::ZpoolOpen3

pub struct ZpoolOpen3 { /* fields omitted */ }

Open3 implementation of ZpoolEngine. You can use ZpoolOpen3::default to create it.

Methods

impl ZpoolOpen3[src]

pub fn with_cmd<I: Into<OsString>>(cmd_name: I) -> ZpoolOpen3[src]

Create new using supplied path as zpool cmd using "log" as backend for logging.

Trait Implementations

impl Default for ZpoolOpen3[src]

fn default() -> ZpoolOpen3[src]

Uses log crate as drain for Slog. Tries to use ZPOOL_CMD from environment if variable is missing then it uses zpool from $PATH.

impl ZpoolEngine for ZpoolOpen3[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, 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.