[][src]Struct libzfs::libzfs::Libzfs

pub struct Libzfs { /* fields omitted */ }

Implementations

impl Libzfs[src]

pub fn new() -> Libzfs[src]

pub fn pool_by_name(&mut self, name: &str) -> Option<Zpool>[src]

pub fn dataset_by_name(&mut self, name: &str) -> Option<Zfs>[src]

pub fn find_importable_pools(&mut self) -> NvList[src]

pub fn import_all(&mut self, nvl: &NvList) -> Result<Vec<()>>[src]

pub fn export_all(&mut self, pools: &[Zpool]) -> Result<Vec<()>>[src]

pub fn get_imported_pools(&mut self) -> Result<Vec<Zpool>>[src]

Trait Implementations

impl Default for Libzfs[src]

impl Drop for Libzfs[src]

Auto Trait Implementations

impl RefUnwindSafe for Libzfs

impl !Send for Libzfs

impl !Sync for Libzfs

impl Unpin for Libzfs

impl UnwindSafe for Libzfs

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, 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.