pub enum DestroyMode {
Force,
Gentle,
}Expand description
Strategy to use when destroying Zpool.
Variants§
Force
Forces any active datasets contained within the pool to be unmounted. Might result in corruption.
Gentle
Do not use force mode.
Trait Implementations§
Source§impl Clone for DestroyMode
impl Clone for DestroyMode
Source§fn clone(&self) -> DestroyMode
fn clone(&self) -> DestroyMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DestroyMode
impl Debug for DestroyMode
Source§impl PartialEq for DestroyMode
impl PartialEq for DestroyMode
impl Eq for DestroyMode
impl StructuralPartialEq for DestroyMode
Auto Trait Implementations§
impl Freeze for DestroyMode
impl RefUnwindSafe for DestroyMode
impl Send for DestroyMode
impl Sync for DestroyMode
impl Unpin for DestroyMode
impl UnwindSafe for DestroyMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more