pub enum ActionError {
NotFound(String),
Forbidden(String),
Invalid(String),
Busy(String),
Failed(String),
Stopped,
}Expand description
Why a request was answered before GitHub was asked.
Variants§
NotFound(String)
No such job in the history (404).
Forbidden(String)
Job actions are off, or the repository is no longer configured (403).
Invalid(String)
The request cannot apply to this job (422).
Busy(String)
Another action is in flight for the run (409).
Failed(String)
The history could not be read, or no confirmation could be made (500).
Stopped
runnerd is stopping (503).
Trait Implementations§
Source§impl Clone for ActionError
impl Clone for ActionError
Source§impl Debug for ActionError
impl Debug for ActionError
Source§impl Display for ActionError
impl Display for ActionError
impl Eq for ActionError
Source§impl Error for ActionError
impl Error for ActionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ActionError
impl PartialEq for ActionError
impl StructuralPartialEq for ActionError
Auto Trait Implementations§
impl Forget for ActionError
impl Freeze for ActionError
impl Move for ActionError
impl RefUnwindSafe for ActionError
impl Send for ActionError
impl Sync for ActionError
impl Unpin for ActionError
impl UnsafeUnpin for ActionError
impl UnwindSafe for ActionError
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.