pub struct ShellRuntimeStatus {
pub watchdog: WatchdogStatus,
pub process: Option<ProcessUsage>,
}Expand description
Runtime figures of the shell: the watchdog, plus the resident memory, CPU time and I/O counters
of the whole process (the watchdog’s two threads and the shell run in it), or None when the
host cannot report them. Computed on call; no polling thread runs for this. See
rightkit_child_process::ProcessUsage.
Fields§
§watchdog: WatchdogStatus§process: Option<ProcessUsage>Trait Implementations§
Source§impl Clone for ShellRuntimeStatus
impl Clone for ShellRuntimeStatus
impl Copy for ShellRuntimeStatus
Source§impl Debug for ShellRuntimeStatus
impl Debug for ShellRuntimeStatus
Source§impl PartialEq for ShellRuntimeStatus
impl PartialEq for ShellRuntimeStatus
impl StructuralPartialEq for ShellRuntimeStatus
Auto Trait Implementations§
impl Freeze for ShellRuntimeStatus
impl RefUnwindSafe for ShellRuntimeStatus
impl Send for ShellRuntimeStatus
impl Sync for ShellRuntimeStatus
impl Unpin for ShellRuntimeStatus
impl UnsafeUnpin for ShellRuntimeStatus
impl UnwindSafe for ShellRuntimeStatus
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