pub struct ReceiveOutput {
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub exit_code: Option<i32>,
pub done: bool,
}Expand description
Fields§
§stdout: Vec<u8>Decoded stdout bytes from this poll (may be empty).
stderr: Vec<u8>Decoded stderr bytes from this poll (may be empty).
exit_code: Option<i32>Process exit code, present only when the command has finished.
done: booltrue when the server reports CommandState/Done, indicating no more
output will follow.
Auto Trait Implementations§
impl Freeze for ReceiveOutput
impl RefUnwindSafe for ReceiveOutput
impl Send for ReceiveOutput
impl Sync for ReceiveOutput
impl Unpin for ReceiveOutput
impl UnsafeUnpin for ReceiveOutput
impl UnwindSafe for ReceiveOutput
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