pub struct UcHttpError(pub String);Expand description
A transport-level failure (connection, TLS, timeout) — distinct from an HTTP
error status, which is carried in a successful UcResponse.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for UcHttpError
impl Debug for UcHttpError
Source§impl Display for UcHttpError
impl Display for UcHttpError
Source§impl Error for UcHttpError
impl Error for UcHttpError
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 Freeze for UcHttpError
impl RefUnwindSafe for UcHttpError
impl Send for UcHttpError
impl Sync for UcHttpError
impl Unpin for UcHttpError
impl UnwindSafe for UcHttpError
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