pub struct CommandExit {
pub code: Option<i32>,
pub success: bool,
}Expand description
Exit status of a completed child.
Fields§
§code: Option<i32>Process exit code when available.
success: boolWhether the process exited successfully.
Trait Implementations§
Source§impl Clone for CommandExit
impl Clone for CommandExit
impl Copy for CommandExit
Source§impl Debug for CommandExit
impl Debug for CommandExit
impl Eq for CommandExit
Source§impl From<ExitStatus> for CommandExit
impl From<ExitStatus> for CommandExit
Source§fn from(status: ExitStatus) -> Self
fn from(status: ExitStatus) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandExit
impl PartialEq for CommandExit
impl StructuralPartialEq for CommandExit
Auto Trait Implementations§
impl Freeze for CommandExit
impl RefUnwindSafe for CommandExit
impl Send for CommandExit
impl Sync for CommandExit
impl Unpin for CommandExit
impl UnsafeUnpin for CommandExit
impl UnwindSafe for CommandExit
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