pub struct TopResult {
pub output: String,
pub success: bool,
}
Expand description
Result from top command
Fields§
§output: String
Output from the command (process list)
success: bool
Whether 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