pub enum RunOutcome {
Complete,
Partial,
Failed,
Cancelled,
}Expand description
How an add or status run ended.
Variants§
Complete
Partial
Failed
Cancelled
A cancel came before the run finished, even if every file had started
Implementations§
Trait Implementations§
Source§impl Clone for RunOutcome
impl Clone for RunOutcome
impl Copy for RunOutcome
Source§impl Debug for RunOutcome
impl Debug for RunOutcome
impl Eq for RunOutcome
Source§impl From<RunOutcome> for GetVerdict
An add or status outcome in the same terms, so one mapping gives every
command its exit status.
impl From<RunOutcome> for GetVerdict
An add or status outcome in the same terms, so one mapping gives every command its exit status.
Source§fn from(outcome: RunOutcome) -> Self
fn from(outcome: RunOutcome) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RunOutcome
impl PartialEq for RunOutcome
Source§impl Serialize for RunOutcome
impl Serialize for RunOutcome
impl StructuralPartialEq for RunOutcome
Auto Trait Implementations§
impl Freeze for RunOutcome
impl RefUnwindSafe for RunOutcome
impl Send for RunOutcome
impl Sync for RunOutcome
impl Unpin for RunOutcome
impl UnsafeUnpin for RunOutcome
impl UnwindSafe for RunOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more