pub enum GithubRunnerObservation {
Unreachable,
NotRegistered,
Registered {
busy: bool,
},
}Expand description
What GitHub says about this attempt’s runner.
Precedence rule 3: “GitHub runner status is authoritative for remote job status; local process state is authoritative only for a child process owned by this agent.” Both halves are inputs here, and neither is allowed to stand in for the other.
Variants§
Unreachable
GitHub could not be reached this cycle. Flow 3.3: start nothing, retain
what is running, back off. It is emphatically not the same as
NotRegistered, and conflating the two would delete live runners during
an outage.
NotRegistered
GitHub knows no runner for this attempt.
Registered
GitHub knows the runner.
Trait Implementations§
Source§impl Clone for GithubRunnerObservation
impl Clone for GithubRunnerObservation
Source§fn clone(&self) -> GithubRunnerObservation
fn clone(&self) -> GithubRunnerObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GithubRunnerObservation
Source§impl Debug for GithubRunnerObservation
impl Debug for GithubRunnerObservation
impl Eq for GithubRunnerObservation
Source§impl PartialEq for GithubRunnerObservation
impl PartialEq for GithubRunnerObservation
impl StructuralPartialEq for GithubRunnerObservation
Auto Trait Implementations§
impl Freeze for GithubRunnerObservation
impl RefUnwindSafe for GithubRunnerObservation
impl Send for GithubRunnerObservation
impl Sync for GithubRunnerObservation
impl Unpin for GithubRunnerObservation
impl UnsafeUnpin for GithubRunnerObservation
impl UnwindSafe for GithubRunnerObservation
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