pub struct ProcessTermination {
pub pid: Option<u64>,
pub exit_status: Option<i64>,
pub signal: Option<i64>,
pub reason: Option<String>,
}Expand description
Process termination event returned by CoreDevice monitoring.
Fields§
§pid: Option<u64>Terminated process identifier.
exit_status: Option<i64>Exit status when the process exited normally.
signal: Option<i64>Signal number when the process was signaled.
reason: Option<String>Human-readable reason when CoreDevice provides one.
Trait Implementations§
Source§impl Clone for ProcessTermination
impl Clone for ProcessTermination
Source§fn clone(&self) -> ProcessTermination
fn clone(&self) -> ProcessTermination
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessTermination
impl Debug for ProcessTermination
Source§impl PartialEq for ProcessTermination
impl PartialEq for ProcessTermination
Source§fn eq(&self, other: &ProcessTermination) -> bool
fn eq(&self, other: &ProcessTermination) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProcessTermination
impl StructuralPartialEq for ProcessTermination
Auto Trait Implementations§
impl Freeze for ProcessTermination
impl RefUnwindSafe for ProcessTermination
impl Send for ProcessTermination
impl Sync for ProcessTermination
impl Unpin for ProcessTermination
impl UnsafeUnpin for ProcessTermination
impl UnwindSafe for ProcessTermination
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.