pub enum ActivityFailure {
Denied,
Error,
Rejected,
TimedOut,
Unavailable,
}Expand description
Why an operation failed.
Variants§
Denied
The user or an approval policy denied it, so it did not run.
Error
It ran, or tried to, and failed, such as an execution error or a run that ended in an error while it was open.
Rejected
The tool refused the call, such as malformed arguments, a path outside the repository, or a patch that does not apply.
TimedOut
It took too long: a command hit its deadline, or an approval was not decided in time.
The tool does not exist or the turn does not offer it.
Trait Implementations§
Source§impl Clone for ActivityFailure
impl Clone for ActivityFailure
impl Copy for ActivityFailure
Source§impl Debug for ActivityFailure
impl Debug for ActivityFailure
impl Eq for ActivityFailure
Source§impl PartialEq for ActivityFailure
impl PartialEq for ActivityFailure
impl StructuralPartialEq for ActivityFailure
Auto Trait Implementations§
impl Forget for ActivityFailure
impl Freeze for ActivityFailure
impl Move for ActivityFailure
impl RefUnwindSafe for ActivityFailure
impl Send for ActivityFailure
impl Sync for ActivityFailure
impl Unpin for ActivityFailure
impl UnsafeUnpin for ActivityFailure
impl UnwindSafe for ActivityFailure
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.