pub enum ActionOutcome {
Accepted,
AlreadyFinished,
Refused,
Unknown,
}Expand description
How GitHub took an action.
Variants§
Accepted
GitHub accepted it. It answers with an acknowledgement: a cancel takes effect as the runners report it, a re-run’s new jobs show up as they queue.
AlreadyFinished
The run had finished already: GitHub answered 409 and a read of the run said it completed.
Refused
GitHub, or runnerd before sending, refused it: nothing was done.
Unknown
runnerd cannot tell whether GitHub did it: the request may have reached GitHub and its answer not come back. Also how this client reads an outcome only a newer daemon knows.
Trait Implementations§
Source§impl Clone for ActionOutcome
impl Clone for ActionOutcome
impl Copy for ActionOutcome
Source§impl Debug for ActionOutcome
impl Debug for ActionOutcome
Source§impl<'de> Deserialize<'de> for ActionOutcome
impl<'de> Deserialize<'de> for ActionOutcome
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 ActionOutcome
Source§impl PartialEq for ActionOutcome
impl PartialEq for ActionOutcome
Source§impl Serialize for ActionOutcome
impl Serialize for ActionOutcome
impl StructuralPartialEq for ActionOutcome
Auto Trait Implementations§
impl Forget for ActionOutcome
impl Freeze for ActionOutcome
impl Move for ActionOutcome
impl RefUnwindSafe for ActionOutcome
impl Send for ActionOutcome
impl Sync for ActionOutcome
impl Unpin for ActionOutcome
impl UnsafeUnpin for ActionOutcome
impl UnwindSafe for ActionOutcome
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.