pub enum HttpClientError {
JsonError,
HttpError,
FromUtf8Error,
InvalidUri,
Error(String),
}
Expand description
Represents errors that can occur during HTTP client operations.
Variants§
JsonError
Error related to JSON processing.
HttpError
Error related to HTTP communication.
FromUtf8Error
Error related to UTF-8 decoding.
InvalidUri
Error related to an invalid URI.
Error(String)
Generic error with a descriptive string.
Trait Implementations§
Source§impl Debug for HttpClientError
impl Debug for HttpClientError
Source§impl From<Error> for HttpClientError
impl From<Error> for HttpClientError
Source§impl From<Error> for HttpClientError
impl From<Error> for HttpClientError
Source§impl From<FromUtf8Error> for HttpClientError
impl From<FromUtf8Error> for HttpClientError
Source§fn from(_: FromUtf8Error) -> Self
fn from(_: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<HttpClientError> for SlackClientError
impl From<HttpClientError> for SlackClientError
Source§fn from(err: HttpClientError) -> Self
fn from(err: HttpClientError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HttpClientError
impl RefUnwindSafe for HttpClientError
impl Send for HttpClientError
impl Sync for HttpClientError
impl Unpin for HttpClientError
impl UnwindSafe for HttpClientError
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