#[repr(u8)]pub enum ErrorKind {
Show 15 variants
Git = 0,
InvalidPath = 1,
Config = 2,
Io = 3,
Runtime = 4,
Pattern = 5,
Http = 6,
Workflow = 7,
WorkflowTimeout = 8,
RateLimitExceeded = 9,
Recovery = 10,
Yaml = 11,
EventParse = 12,
ShallowExhausted = 13,
Other = 14,
}Expand description
Fieldless error category for zero-cost pattern matching.
Single byte representation (#[repr(u8)]), Copy, no allocations.
Variants§
Git = 0
Git operation error
InvalidPath = 1
Invalid file path error
Config = 2
Configuration error
Io = 3
I/O operation error
Runtime = 4
Runtime error
Pattern = 5
Pattern matching error
Http = 6
HTTP/API error
Workflow = 7
Workflow API error
WorkflowTimeout = 8
Workflow timeout error
RateLimitExceeded = 9
API rate limit exceeded
Recovery = 10
File recovery error
Yaml = 11
YAML parsing error
EventParse = 12
GitHub event parsing error
ShallowExhausted = 13
Shallow clone depth exhausted
Other = 14
Other errors
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more