pub struct TopResult {
pub output: String,
pub success: bool,
}Expand description
Result from top command
Fields§
§output: StringOutput from the command (process list)
success: boolWhether the operation succeeded
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TopResult
impl RefUnwindSafe for TopResult
impl Send for TopResult
impl Sync for TopResult
impl Unpin for TopResult
impl UnwindSafe for TopResult
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