pub struct ExecOutput {
pub exit_code: i32,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}Expand description
A pluggable compute execution backend (VMM / container / cloudflare / docker).
The control plane only ever sees Instance/Endpoint; whether the
backend runs the workload directly (VMM, container) or delegates to a
platform/daemon (cloudflare, docker) is internal.
The buffered result of running a one-shot command inside a running workload
replica (ComputeBackend::exec). Non-streaming: stdout/stderr are captured to
completion. exit_code is the command’s status (128+signal if it was killed).
Fields§
§exit_code: i32The command’s exit status (128 + signal number if terminated by a signal).
stdout: Vec<u8>Captured standard output.
stderr: Vec<u8>Captured standard error.
Trait Implementations§
Source§impl Clone for ExecOutput
impl Clone for ExecOutput
Source§fn clone(&self) -> ExecOutput
fn clone(&self) -> ExecOutput
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 moreAuto Trait Implementations§
impl Freeze for ExecOutput
impl RefUnwindSafe for ExecOutput
impl Send for ExecOutput
impl Sync for ExecOutput
impl Unpin for ExecOutput
impl UnsafeUnpin for ExecOutput
impl UnwindSafe for ExecOutput
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