pub struct HostExecReceipt {
pub host: HostId,
pub topology_revision: TopologyRevision,
pub command: HostExecCommand,
pub args: Vec<String>,
pub working_dir: Option<PathBuf>,
pub stdout: String,
pub stderr: String,
pub exit_code: Option<i32>,
pub truncated: bool,
pub encoding_lossy: bool,
pub send_state: MutationSendState,
}Expand description
Completed bounded host execution.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
command: HostExecCommandExecuted command.
args: Vec<String>Positional arguments.
working_dir: Option<PathBuf>Optional descriptor-bound working directory.
stdout: StringLossy UTF-8 stdout bounded by policy.
stderr: StringLossy UTF-8 stderr bounded by policy.
exit_code: Option<i32>Process exit code when available.
truncated: boolWhether either stream exceeded its byte ceiling.
encoding_lossy: boolWhether UTF-8 replacement was required.
send_state: MutationSendStateBackend send state.
Trait Implementations§
Source§impl Clone for HostExecReceipt
impl Clone for HostExecReceipt
Source§fn clone(&self) -> HostExecReceipt
fn clone(&self) -> HostExecReceipt
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 HostExecReceipt
impl Debug for HostExecReceipt
Source§impl<'de> Deserialize<'de> for HostExecReceipt
impl<'de> Deserialize<'de> for HostExecReceipt
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
Source§impl PartialEq for HostExecReceipt
impl PartialEq for HostExecReceipt
Source§fn eq(&self, other: &HostExecReceipt) -> bool
fn eq(&self, other: &HostExecReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HostExecReceipt
impl Serialize for HostExecReceipt
impl Eq for HostExecReceipt
impl StructuralPartialEq for HostExecReceipt
Auto Trait Implementations§
impl Freeze for HostExecReceipt
impl RefUnwindSafe for HostExecReceipt
impl Send for HostExecReceipt
impl Sync for HostExecReceipt
impl Unpin for HostExecReceipt
impl UnsafeUnpin for HostExecReceipt
impl UnwindSafe for HostExecReceipt
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.