pub struct CommandOutput {
pub status: ExitStatus,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub truncated: bool,
pub interrupted: bool,
}Expand description
Exit status and bounded captured streams from a managed Git subprocess.
Fields§
§status: ExitStatusExit status returned by Git.
stdout: Vec<u8>Captured standard output bytes.
stderr: Vec<u8>Captured diagnostic bytes.
truncated: boolWhether output exceeded the capture budget.
interrupted: boolWhether supervision interrupted the command.
Implementations§
Auto Trait Implementations§
impl Forget for CommandOutput
impl Freeze for CommandOutput
impl Move for CommandOutput
impl RefUnwindSafe for CommandOutput
impl Send for CommandOutput
impl Sync for CommandOutput
impl Unpin for CommandOutput
impl UnsafeUnpin for CommandOutput
impl UnwindSafe for CommandOutput
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