pub enum Command {
Signal {
pid: u32,
signal: ProcessSignal,
},
SetInterval(Duration),
SetProcessLimit(Option<usize>),
}Expand description
Requests from the UI to the worker.
Variants§
Signal
Send a signal to a process on the monitored host.
SetInterval(Duration)
Change the polling interval.
SetProcessLimit(Option<usize>)
Limit snapshots to the top processes (None: all).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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