pub struct CommandOutputBytes {
pub exit_code: i32,
pub stdout: Vec<u8>,
pub stderr: String,
}Expand description
Output from a command execution where stdout is held as raw
bytes — used by CommandRunner::run_bytes for callers that
must preserve binary payloads (whole-file decryption via age /
gpg, etc.).
Fields§
§exit_code: i32§stdout: Vec<u8>§stderr: StringTrait Implementations§
Source§impl Clone for CommandOutputBytes
impl Clone for CommandOutputBytes
Source§fn clone(&self) -> CommandOutputBytes
fn clone(&self) -> CommandOutputBytes
Returns a duplicate of the value. Read more
1.0.0 · 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 CommandOutputBytes
impl RefUnwindSafe for CommandOutputBytes
impl Send for CommandOutputBytes
impl Sync for CommandOutputBytes
impl Unpin for CommandOutputBytes
impl UnsafeUnpin for CommandOutputBytes
impl UnwindSafe for CommandOutputBytes
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