pub enum NotCancellableReason {
Integrating,
RewritingFiles,
InSteps,
Sent,
Purging,
Finished,
UnknownJob,
}Expand description
Why JobCancel refused (Error::NotCancellable).
Variants§
Integrating
A pull past its fetch: the merge, rebase or fast-forward is writing the index and the working tree.
RewritingFiles
Files are being rewritten in the working tree (LFS checkout).
InSteps
A multi-step workflow: it can only stop between steps.
Sent
A client-side job past its send: the host may already have acted (a pull request or issue being created).
Purging
Old history is being deleted (rewrite purge): the pins, the
reflogs and the objects go, and stopping half way would leave an
undo entry without its objects.
Finished
The job has already ended.
UnknownJob
No such job (never existed, or already dropped from the list).
Implementations§
Trait Implementations§
Source§impl Clone for NotCancellableReason
impl Clone for NotCancellableReason
impl Copy for NotCancellableReason
Source§impl Debug for NotCancellableReason
impl Debug for NotCancellableReason
Source§impl<'de> Deserialize<'de> for NotCancellableReason
impl<'de> Deserialize<'de> for NotCancellableReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NotCancellableReason
Source§impl PartialEq for NotCancellableReason
impl PartialEq for NotCancellableReason
Source§impl Serialize for NotCancellableReason
impl Serialize for NotCancellableReason
impl StructuralPartialEq for NotCancellableReason
Auto Trait Implementations§
impl Forget for NotCancellableReason
impl Freeze for NotCancellableReason
impl Move for NotCancellableReason
impl RefUnwindSafe for NotCancellableReason
impl Send for NotCancellableReason
impl Sync for NotCancellableReason
impl Unpin for NotCancellableReason
impl UnsafeUnpin for NotCancellableReason
impl UnwindSafe for NotCancellableReason
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