pub enum ListingProblem {
NoToken,
Unauthorized,
Refused {
status: u16,
},
Failed {
status: u16,
},
Unreachable,
Unexpected,
Unknown,
}Expand description
What a failed listing ran into.
Variants§
NoToken
runnerd could read no GitHub token.
GitHub refused the token: 401.
Refused
GitHub answered 403, 404 or 410: the token may not read the repository’s Actions, cannot see it, or it is gone.
Failed
GitHub answered another error status, such as a 5xx.
Unreachable
No answer came: the network, DNS or TLS failed.
Unexpected
The answer was not what GitHub sends.
Unknown
A problem from a newer daemon than this client knows.
Implementations§
Trait Implementations§
Source§impl Clone for ListingProblem
impl Clone for ListingProblem
Source§impl Debug for ListingProblem
impl Debug for ListingProblem
Source§impl<'de> Deserialize<'de> for ListingProblem
impl<'de> Deserialize<'de> for ListingProblem
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 ListingProblem
Source§impl PartialEq for ListingProblem
impl PartialEq for ListingProblem
Source§impl Serialize for ListingProblem
impl Serialize for ListingProblem
impl StructuralPartialEq for ListingProblem
Auto Trait Implementations§
impl Forget for ListingProblem
impl Freeze for ListingProblem
impl Move for ListingProblem
impl RefUnwindSafe for ListingProblem
impl Send for ListingProblem
impl Sync for ListingProblem
impl Unpin for ListingProblem
impl UnsafeUnpin for ListingProblem
impl UnwindSafe for ListingProblem
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.