pub struct RemoteExecResult {
pub exit_code: i32,
pub output: Vec<u8>,
}Expand description
The captured result of crate::Client::exec against a remote daemon.
Unlike ExecResult (the local CLI’s captured stdout/stderr as text), a
remote exec’s output is a single interleaved byte stream — the shell
agent’s shellOutput subscription does not distinguish stdout from
stderr — so this carries raw bytes instead.
Fields§
§exit_code: i32§output: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for RemoteExecResult
impl Clone for RemoteExecResult
Source§fn clone(&self) -> RemoteExecResult
fn clone(&self) -> RemoteExecResult
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 RemoteExecResult
impl Debug for RemoteExecResult
impl Eq for RemoteExecResult
Source§impl PartialEq for RemoteExecResult
impl PartialEq for RemoteExecResult
impl StructuralPartialEq for RemoteExecResult
Auto Trait Implementations§
impl Freeze for RemoteExecResult
impl RefUnwindSafe for RemoteExecResult
impl Send for RemoteExecResult
impl Sync for RemoteExecResult
impl Unpin for RemoteExecResult
impl UnsafeUnpin for RemoteExecResult
impl UnwindSafe for RemoteExecResult
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