pub struct ExecutionOutput {
pub stdout: String,
pub stderr: String,
pub exit_code: Option<i32>,
pub truncated_stdout: bool,
pub truncated_stderr: bool,
pub duration_ms: u64,
}Expand description
Output of a remote SSH command execution.
Fields§
§stdout: StringStdout capturado (possivelmente truncated a max_chars codepoints).
stderr: StringStderr capturado (possivelmente truncated a max_chars codepoints).
exit_code: Option<i32>Exit code. None when the command was terminated by signal or timeout.
truncated_stdout: booltrue se stdout foi truncated em max_chars.
truncated_stderr: booltrue se stderr foi truncated em max_chars.
duration_ms: u64Total execution duration in milliseconds.
Trait Implementations§
Source§impl Clone for ExecutionOutput
impl Clone for ExecutionOutput
Source§fn clone(&self) -> ExecutionOutput
fn clone(&self) -> ExecutionOutput
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 moreAuto Trait Implementations§
impl Freeze for ExecutionOutput
impl RefUnwindSafe for ExecutionOutput
impl Send for ExecutionOutput
impl Sync for ExecutionOutput
impl Unpin for ExecutionOutput
impl UnsafeUnpin for ExecutionOutput
impl UnwindSafe for ExecutionOutput
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