pub enum IntelError {
Transport(Error),
Http(u16, String),
Parse(String),
Unsupported(String),
AllEndpointsDown(Option<Box<IntelError>>),
}Variants§
Transport(Error)
Transport / connection failure (fatal infra → exit 4, RFC 0011).
Http(u16, String)
Non-2xx HTTP status from the endpoint.
Parse(String)
Malformed response body.
Unsupported(String)
A transport this build doesn’t support (e.g. https without tls).
AllEndpointsDown(Option<Box<IntelError>>)
Every endpoint in the list is down/broken after the bounded failover
sweep (RFC 0018 §6). The boxed cause is the last failover-class error
seen. Maps to the same fatal-infra class as Transport → exit 4 on
once; a loop/reactive daemon backs off rather than crashing.
Trait Implementations§
Source§impl Debug for IntelError
impl Debug for IntelError
Source§impl Display for IntelError
impl Display for IntelError
Source§impl Error for IntelError
impl Error for IntelError
1.30.0 · 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 IntelError
impl !UnwindSafe for IntelError
impl Freeze for IntelError
impl Send for IntelError
impl Sync for IntelError
impl Unpin for IntelError
impl UnsafeUnpin for IntelError
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