[−][src]Struct libzfs::libzfs::Libzfs
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,