pub struct ComposeOutput {
pub stdout: String,
pub stderr: String,
pub code: i32,
}Expand description
One completed docker … invocation: captured output + exit code.
A spawn FAILURE (no docker binary) is code: 127 with the spawn
error in stderr — one error path, no io::Error leakage.
Fields§
§stdout: StringCaptured stdout (UTF-8 lossy).
stderr: StringCaptured stderr (UTF-8 lossy).
code: i32Process exit code (-1 when terminated by signal).
Trait Implementations§
Source§impl Clone for ComposeOutput
impl Clone for ComposeOutput
Source§fn clone(&self) -> ComposeOutput
fn clone(&self) -> ComposeOutput
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 ComposeOutput
impl Debug for ComposeOutput
Source§impl PartialEq for ComposeOutput
impl PartialEq for ComposeOutput
impl StructuralPartialEq for ComposeOutput
Auto Trait Implementations§
impl Freeze for ComposeOutput
impl RefUnwindSafe for ComposeOutput
impl Send for ComposeOutput
impl Sync for ComposeOutput
impl Unpin for ComposeOutput
impl UnsafeUnpin for ComposeOutput
impl UnwindSafe for ComposeOutput
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