pub struct TransferRawOutput {
pub stdout_bytes: u64,
pub stdin_bytes: u64,
pub stderr: String,
pub exit_code: Option<u32>,
}Expand description
Output from a raw streaming command execution.
This is intended for binary-safe stdin/stdout streaming (e.g. file transfer).
Fields§
§stdout_bytes: u64Total bytes written to remote stdout (as received).
stdin_bytes: u64Total bytes written to remote stdin.
stderr: StringCollected stderr (lossy UTF-8).
exit_code: Option<u32>Exit code of the remote command (if provided).
Trait Implementations§
Source§impl Clone for TransferRawOutput
impl Clone for TransferRawOutput
Source§fn clone(&self) -> TransferRawOutput
fn clone(&self) -> TransferRawOutput
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 TransferRawOutput
impl Debug for TransferRawOutput
Source§impl Default for TransferRawOutput
impl Default for TransferRawOutput
Source§fn default() -> TransferRawOutput
fn default() -> TransferRawOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransferRawOutput
impl RefUnwindSafe for TransferRawOutput
impl Send for TransferRawOutput
impl Sync for TransferRawOutput
impl Unpin for TransferRawOutput
impl UnsafeUnpin for TransferRawOutput
impl UnwindSafe for TransferRawOutput
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