pub struct ProcessEvidence {
pub pid: u32,
pub exit_code: i32,
pub duration_ms: u128,
pub cwd: String,
}Expand description
Evidence of the child process’s lifecycle.
Fields§
§pid: u32§exit_code: i32§duration_ms: u128§cwd: StringTrait Implementations§
Source§impl Clone for ProcessEvidence
impl Clone for ProcessEvidence
Source§fn clone(&self) -> ProcessEvidence
fn clone(&self) -> ProcessEvidence
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 ProcessEvidence
impl Debug for ProcessEvidence
Source§impl<'de> Deserialize<'de> for ProcessEvidence
impl<'de> Deserialize<'de> for ProcessEvidence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcessEvidence
Source§impl PartialEq for ProcessEvidence
impl PartialEq for ProcessEvidence
Source§fn eq(&self, other: &ProcessEvidence) -> bool
fn eq(&self, other: &ProcessEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessEvidence
impl Serialize for ProcessEvidence
impl StructuralPartialEq for ProcessEvidence
Auto Trait Implementations§
impl Freeze for ProcessEvidence
impl RefUnwindSafe for ProcessEvidence
impl Send for ProcessEvidence
impl Sync for ProcessEvidence
impl Unpin for ProcessEvidence
impl UnsafeUnpin for ProcessEvidence
impl UnwindSafe for ProcessEvidence
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.