pub struct ExternalResult {
pub code: SysexitsError,
pub stdout: Option<Vec<u8>>,
pub stderr: Option<Vec<u8>>,
}Fields§
§code: SysexitsErrorReturn code of the executed command.
stdout: Option<Vec<u8>>If pipe_output is true, this field contains stdout, otherwise its None.
stderr: Option<Vec<u8>>If pipe_output is true, this field contains stderr, otherwise its None.
Auto Trait Implementations§
impl Freeze for ExternalResult
impl RefUnwindSafe for ExternalResult
impl Send for ExternalResult
impl Sync for ExternalResult
impl Unpin for ExternalResult
impl UnwindSafe for ExternalResult
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