pub enum BashStatus {
Running,
Complete {
exit_code: i32,
},
Cancelled,
Error(String),
}Variants§
Trait Implementations§
Source§impl Clone for BashStatus
impl Clone for BashStatus
Source§fn clone(&self) -> BashStatus
fn clone(&self) -> BashStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BashStatus
impl Debug for BashStatus
Source§impl PartialEq for BashStatus
impl PartialEq for BashStatus
Source§fn eq(&self, other: &BashStatus) -> bool
fn eq(&self, other: &BashStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BashStatus
Auto Trait Implementations§
impl Freeze for BashStatus
impl RefUnwindSafe for BashStatus
impl Send for BashStatus
impl Sync for BashStatus
impl Unpin for BashStatus
impl UnsafeUnpin for BashStatus
impl UnwindSafe for BashStatus
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