pub struct SubprocessRecord {
pub argv: Vec<String>,
pub exit_code: Option<i32>,
pub wall_ms: u64,
pub stderr_head: String,
pub timestamp_ms: u64,
}Expand description
v1.0.7 §D3 — one entry in the subprocess ring buffer.
Fields§
§argv: Vec<String>argv passed to the invoked binary.
exit_code: Option<i32>Exit code; None when the process failed to spawn.
wall_ms: u64Wall-clock milliseconds.
stderr_head: StringFirst 256 bytes of stderr.
timestamp_ms: u64Epoch millis when the invocation completed.
Trait Implementations§
Source§impl Clone for SubprocessRecord
impl Clone for SubprocessRecord
Source§fn clone(&self) -> SubprocessRecord
fn clone(&self) -> SubprocessRecord
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 SubprocessRecord
impl Debug for SubprocessRecord
Source§impl<'de> Deserialize<'de> for SubprocessRecord
impl<'de> Deserialize<'de> for SubprocessRecord
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
Auto Trait Implementations§
impl Freeze for SubprocessRecord
impl RefUnwindSafe for SubprocessRecord
impl Send for SubprocessRecord
impl Sync for SubprocessRecord
impl Unpin for SubprocessRecord
impl UnsafeUnpin for SubprocessRecord
impl UnwindSafe for SubprocessRecord
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