pub enum GetVerdict {
Done,
Failed,
HeldBack,
Cancelled,
}Expand description
How a get ended, for exit codes and R’s on_error.
Variants§
Done
Did as asked, including leaving files the policy asked to skip
Failed
A file failed, or the operation itself had a problem
HeldBack
abort held files back because of conflicts; nothing was written
Cancelled
A cancel came before the run finished
Trait Implementations§
Source§impl Clone for GetVerdict
impl Clone for GetVerdict
impl Copy for GetVerdict
Source§impl Debug for GetVerdict
impl Debug for GetVerdict
impl Eq for GetVerdict
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 GetVerdict
impl PartialEq for GetVerdict
impl StructuralPartialEq for GetVerdict
Auto Trait Implementations§
impl Freeze for GetVerdict
impl RefUnwindSafe for GetVerdict
impl Send for GetVerdict
impl Sync for GetVerdict
impl Unpin for GetVerdict
impl UnsafeUnpin for GetVerdict
impl UnwindSafe for GetVerdict
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