pub struct SaidaExecucao {
pub stdout: String,
pub stderr: String,
pub exit_code: Option<i32>,
pub truncado_stdout: bool,
pub truncado_stderr: bool,
pub duracao_ms: u64,
}Expand description
Saída da execução de um comando SSH remoto.
Fields§
§stdout: StringStdout capturado (possivelmente truncado a max_chars codepoints).
stderr: StringStderr capturado (possivelmente truncado a max_chars codepoints).
exit_code: Option<i32>Código de saída. None quando o comando foi terminado por sinal ou timeout.
truncado_stdout: booltrue se stdout foi truncado em max_chars.
truncado_stderr: booltrue se stderr foi truncado em max_chars.
duracao_ms: u64Duração total da execução, em milissegundos.
Trait Implementations§
Source§impl Clone for SaidaExecucao
impl Clone for SaidaExecucao
Source§fn clone(&self) -> SaidaExecucao
fn clone(&self) -> SaidaExecucao
Returns a duplicate of the value. Read more
1.0.0 · 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 SaidaExecucao
impl RefUnwindSafe for SaidaExecucao
impl Send for SaidaExecucao
impl Sync for SaidaExecucao
impl Unpin for SaidaExecucao
impl UnsafeUnpin for SaidaExecucao
impl UnwindSafe for SaidaExecucao
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