pub struct GitOut {
pub code: Option<i32>,
pub stdout: Vec<u8>,
pub truncated: bool,
pub stderr: String,
}Expand description
Result of one git run.
Fields§
§code: Option<i32>Exit code (None when killed by a signal).
stdout: Vec<u8>Captured stdout, at most the requested cap.
truncated: booltrue when stdout hit the cap and the child was killed.
stderr: StringCaptured stderr (lossy UTF-8, bounded to 64 KiB).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitOut
impl RefUnwindSafe for GitOut
impl Send for GitOut
impl Sync for GitOut
impl Unpin for GitOut
impl UnsafeUnpin for GitOut
impl UnwindSafe for GitOut
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