pub enum RunnerTransportError {
FetchFailed {
endpoint: String,
source: Error,
},
NonSuccessStatus {
endpoint: String,
status: u16,
body: String,
},
NonJsonBody {
endpoint: String,
source: Error,
},
MalformedBody {
endpoint: String,
detail: String,
},
Unreachable {
endpoint: String,
message: String,
},
}Expand description
Transport-level failure (network, non-2xx, malformed body). Mirrors
TS RunnerTransportError 1:1.
Variants§
Trait Implementations§
Source§impl Debug for RunnerTransportError
impl Debug for RunnerTransportError
Source§impl Display for RunnerTransportError
impl Display for RunnerTransportError
Source§impl Error for RunnerTransportError
impl Error for RunnerTransportError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for RunnerTransportError
impl !UnwindSafe for RunnerTransportError
impl Freeze for RunnerTransportError
impl Send for RunnerTransportError
impl Sync for RunnerTransportError
impl Unpin for RunnerTransportError
impl UnsafeUnpin for RunnerTransportError
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