pub enum ProcessTool {
Processes {
sort: Option<ProcessSort>,
limit: Option<f64>,
filter: Option<String>,
},
Kill {
pid: f64,
signal: Option<ProcessSignal>,
},
}Expand description
The guest’s processes. kill stops only the agent user’s own, never the machine’s or the desktop’s.
Variants§
Trait Implementations§
Source§impl Clone for ProcessTool
impl Clone for ProcessTool
Source§impl Debug for ProcessTool
impl Debug for ProcessTool
Source§impl<'de> Deserialize<'de> for ProcessTool
impl<'de> Deserialize<'de> for ProcessTool
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 ProcessTool
impl PartialEq for ProcessTool
Source§impl Serialize for ProcessTool
impl Serialize for ProcessTool
impl StructuralPartialEq for ProcessTool
Auto Trait Implementations§
impl Forget for ProcessTool
impl Freeze for ProcessTool
impl RefUnwindSafe for ProcessTool
impl Send for ProcessTool
impl Sync for ProcessTool
impl Unpin for ProcessTool
impl UnsafeUnpin for ProcessTool
impl UnwindSafe for ProcessTool
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