pub enum CommandExit {
Success,
Failure(i32),
Any,
}Variants§
Implementations§
Source§impl CommandExit
impl CommandExit
pub fn matches(&self, status: ExitStatus) -> bool
pub fn is_success(&self) -> bool
Trait Implementations§
Source§impl Debug for CommandExit
impl Debug for CommandExit
Source§impl Default for CommandExit
impl Default for CommandExit
Source§fn default() -> CommandExit
fn default() -> CommandExit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandExit
impl RefUnwindSafe for CommandExit
impl Send for CommandExit
impl Sync for CommandExit
impl Unpin 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