[][src]Struct libzfs::zpool::Zpool

pub struct Zpool { /* fields omitted */ }

Implementations

impl Zpool[src]

pub fn new(raw: *mut zpool_handle_t) -> Zpool[src]

pub fn name(&self) -> CString[src]

pub fn state(&self) -> pool_state_t[src]

pub fn state_name(&self) -> CString[src]

pub fn prop_int(&self, prop: Type) -> u64[src]

pub fn prop_str(&self, prop: Type) -> Result<CString>[src]

pub fn health(&self) -> Result<CString>[src]

pub fn hostname(&self) -> Result<CString>[src]

pub fn hostid(&self) -> Result<u64>[src]

pub fn guid(&self) -> u64[src]

pub fn guid_hex(&self) -> String[src]

pub fn size(&self) -> u64[src]

pub fn read_only(&self) -> bool[src]

pub fn get_config(&self) -> &NvListRef[src]

pub fn vdev_tree(&self) -> Result<VDev>[src]

pub fn datasets(&self) -> Result<Vec<Zfs>>[src]

pub fn disable_datasets(&self) -> Result<()>[src]

pub fn export(&self) -> Result<()>[src]

Trait Implementations

impl Debug for Zpool[src]

impl Drop for Zpool[src]

impl PartialEq<Zpool> for Zpool[src]

impl StructuralPartialEq for Zpool[src]

Auto Trait Implementations

impl RefUnwindSafe for Zpool

impl !Send for Zpool

impl !Sync for Zpool

impl Unpin for Zpool

impl UnwindSafe for Zpool

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.