pub enum PoolCommand {
AddPools(Vec<Pool>),
AddPool(Pool),
UpdatePool(Pool),
RemovePool(Guid),
AddDataset(Guid, Dataset),
RemoveDataset(Guid, Name),
SetZpoolProp(Guid, Key, Value),
SetZfsProp(Guid, Name, Key, Value),
}
Variants§
AddPools(Vec<Pool>)
AddPool(Pool)
UpdatePool(Pool)
RemovePool(Guid)
AddDataset(Guid, Dataset)
RemoveDataset(Guid, Name)
SetZpoolProp(Guid, Key, Value)
SetZfsProp(Guid, Name, Key, Value)
Trait Implementations§
Source§impl Debug for PoolCommand
impl Debug for PoolCommand
Source§impl<'de> Deserialize<'de> for PoolCommand
impl<'de> Deserialize<'de> for PoolCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PoolCommand
impl PartialEq for PoolCommand
Source§impl Serialize for PoolCommand
impl Serialize for PoolCommand
impl StructuralPartialEq for PoolCommand
Auto Trait Implementations§
impl Freeze for PoolCommand
impl RefUnwindSafe for PoolCommand
impl Send for PoolCommand
impl Sync for PoolCommand
impl Unpin for PoolCommand
impl UnwindSafe for PoolCommand
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