pub struct KillResult {
pub output: String,
pub success: bool,
}
Expand description
Result from kill command
Fields§
§output: String
Output from the command
success: bool
Whether the operation succeeded
Trait Implementations§
Source§impl Clone for KillResult
impl Clone for KillResult
Source§fn clone(&self) -> KillResult
fn clone(&self) -> KillResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for KillResult
impl RefUnwindSafe for KillResult
impl Send for KillResult
impl Sync for KillResult
impl Unpin for KillResult
impl UnwindSafe for KillResult
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