pub struct WatchedProcess {
pub pid: u32,
pub name: String,
pub started_ms: u64,
}Expand description
A process to announce when it exits.
Fields§
§pid: u32§name: StringIts name when the watch began; another name under the same pid means it exited and the pid was reused.
started_ms: u64When it started (milliseconds since the Unix epoch, by the host’s run time).
Trait Implementations§
Source§impl Clone for WatchedProcess
impl Clone for WatchedProcess
Source§impl Debug for WatchedProcess
impl Debug for WatchedProcess
impl Eq for WatchedProcess
Source§impl PartialEq for WatchedProcess
impl PartialEq for WatchedProcess
impl StructuralPartialEq for WatchedProcess
Auto Trait Implementations§
impl Freeze for WatchedProcess
impl RefUnwindSafe for WatchedProcess
impl Send for WatchedProcess
impl Sync for WatchedProcess
impl Unpin for WatchedProcess
impl UnsafeUnpin for WatchedProcess
impl UnwindSafe for WatchedProcess
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.