pub enum ZedCommand {
Init,
CreateZpool(Name, Guid, State),
ImportZpool(Name, Guid, State),
ExportZpool(Guid, State),
DestroyZpool(Guid),
CreateZfs(Guid, Name),
DestroyZfs(Guid, Name),
SetZpoolProp(Guid, Key, Value),
SetZfsProp(Guid, Name, Key, Value),
AddVdev(Name, Guid),
}
Variants§
Init
CreateZpool(Name, Guid, State)
ImportZpool(Name, Guid, State)
ExportZpool(Guid, State)
DestroyZpool(Guid)
CreateZfs(Guid, Name)
DestroyZfs(Guid, Name)
SetZpoolProp(Guid, Key, Value)
SetZfsProp(Guid, Name, Key, Value)
AddVdev(Name, Guid)
Trait Implementations§
Source§impl Debug for ZedCommand
impl Debug for ZedCommand
Source§impl<'de> Deserialize<'de> for ZedCommand
impl<'de> Deserialize<'de> for ZedCommand
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 ZedCommand
impl PartialEq for ZedCommand
Source§impl Serialize for ZedCommand
impl Serialize for ZedCommand
impl StructuralPartialEq for ZedCommand
Auto Trait Implementations§
impl Freeze for ZedCommand
impl RefUnwindSafe for ZedCommand
impl Send for ZedCommand
impl Sync for ZedCommand
impl Unpin for ZedCommand
impl UnwindSafe for ZedCommand
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