pub enum RunnerErrorKind {
Show 19 variants
Unknown(ErrorCode),
UnknownReqwest,
Building,
Connect,
Timeout,
Decode,
Server,
Rejection,
AtCapacity,
Runner,
UnknownMeasurement,
OldVersion,
TemporarilyUnavailable,
ServiceUnavailable,
Boot,
EvictionFailure,
UnknownUser,
LeaseExpired,
WrongLease,
}Expand description
All variants of errors that the runner can return.
Variants§
Unknown(ErrorCode)
Unknown error
UnknownReqwest
Unknown Reqwest client error
Building
Error building the HTTP request
Connect
Error connecting to a remote HTTP service
Timeout
Request timed out
Decode
Error decoding/deserializing the HTTP response body
Server
General server error
Rejection
Client provided a bad request that the server rejected
AtCapacity
Server is at capacity
Runner
General Runner error
UnknownMeasurement
Unknown or unserviceable measurement
OldVersion
Caller requested a version which is too old
Requested node temporarily unavailable, most likely due to a common race condition; retry the request (temporary error)
Runner service is unavailable (semi-permanent error)
Boot
Requested node failed to boot
EvictionFailure
Failed to evict a usernode
UnknownUser
The requested user is not known to the runner
LeaseExpired
Tried to renew a lease that has already expired
WrongLease
Tried to renew a lease belonging to a different user
Trait Implementations§
Source§impl ApiErrorKind for RunnerErrorKind
impl ApiErrorKind for RunnerErrorKind
Source§impl Clone for RunnerErrorKind
impl Clone for RunnerErrorKind
Source§fn clone(&self) -> RunnerErrorKind
fn clone(&self) -> RunnerErrorKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RunnerErrorKind
Source§impl Debug for RunnerErrorKind
impl Debug for RunnerErrorKind
Source§impl Default for RunnerErrorKind
impl Default for RunnerErrorKind
Source§impl Display for RunnerErrorKind
impl Display for RunnerErrorKind
impl Eq for RunnerErrorKind
Source§impl From<CommonErrorKind> for RunnerErrorKind
impl From<CommonErrorKind> for RunnerErrorKind
Source§fn from(common: CommonErrorKind) -> Self
fn from(common: CommonErrorKind) -> Self
Source§impl From<RunnerErrorKind> for ErrorCode
impl From<RunnerErrorKind> for ErrorCode
Source§fn from(val: RunnerErrorKind) -> ErrorCode
fn from(val: RunnerErrorKind) -> ErrorCode
Source§impl From<u16> for RunnerErrorKind
impl From<u16> for RunnerErrorKind
Source§impl Hash for RunnerErrorKind
impl Hash for RunnerErrorKind
Source§impl PartialEq for RunnerErrorKind
impl PartialEq for RunnerErrorKind
Source§fn eq(&self, other: &RunnerErrorKind) -> bool
fn eq(&self, other: &RunnerErrorKind) -> bool
self and other values to be equal, and is used by ==.