pub struct ExecStartResult {
pub pid: u32,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub exit_code: Option<i32>,
}Expand description
Exec start result from agent.
Fields§
§pid: u32Process ID in guest.
stdout: Vec<u8>Standard output (if not detached and not TTY).
stderr: Vec<u8>Standard error (if not detached and not TTY).
exit_code: Option<i32>Exit code (if not detached).
Trait Implementations§
Source§impl Clone for ExecStartResult
impl Clone for ExecStartResult
Auto Trait Implementations§
impl Freeze for ExecStartResult
impl RefUnwindSafe for ExecStartResult
impl Send for ExecStartResult
impl Sync for ExecStartResult
impl Unpin for ExecStartResult
impl UnsafeUnpin for ExecStartResult
impl UnwindSafe for ExecStartResult
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