pub enum MountCommand {
AddMount(MountPoint, DevicePath, FsType, MountOpts),
RemoveMount(MountPoint, DevicePath, FsType, MountOpts),
ReplaceMount(MountPoint, DevicePath, FsType, MountOpts, MountOpts),
MoveMount(MountPoint, DevicePath, FsType, MountOpts, MountPoint),
}
Variants§
AddMount(MountPoint, DevicePath, FsType, MountOpts)
RemoveMount(MountPoint, DevicePath, FsType, MountOpts)
ReplaceMount(MountPoint, DevicePath, FsType, MountOpts, MountOpts)
MoveMount(MountPoint, DevicePath, FsType, MountOpts, MountPoint)
Trait Implementations§
Source§impl Debug for MountCommand
impl Debug for MountCommand
Source§impl<'de> Deserialize<'de> for MountCommand
impl<'de> Deserialize<'de> for MountCommand
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 MountCommand
impl PartialEq for MountCommand
Source§impl Serialize for MountCommand
impl Serialize for MountCommand
impl StructuralPartialEq for MountCommand
Auto Trait Implementations§
impl Freeze for MountCommand
impl RefUnwindSafe for MountCommand
impl Send for MountCommand
impl Sync for MountCommand
impl Unpin for MountCommand
impl UnwindSafe for MountCommand
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