pub enum RabbitMqClientError {
Unauthorized,
MissingCredentials,
AlreadyExists(String),
NotFound(String),
InvalidApiUrl(String),
JSONError(Error),
ResponseError(Error),
Middleware(Error),
Request(Error),
ApiError(RabbitMqApiError),
UnexpectedResponse(String),
}
Variants§
MissingCredentials
AlreadyExists(String)
NotFound(String)
InvalidApiUrl(String)
JSONError(Error)
ResponseError(Error)
Middleware(Error)
Request(Error)
ApiError(RabbitMqApiError)
UnexpectedResponse(String)
Trait Implementations§
Source§impl Debug for RabbitMqClientError
impl Debug for RabbitMqClientError
Source§impl Display for RabbitMqClientError
impl Display for RabbitMqClientError
Source§impl Error for RabbitMqClientError
impl Error for RabbitMqClientError
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 RabbitMqClientError
impl !RefUnwindSafe for RabbitMqClientError
impl Send for RabbitMqClientError
impl Sync for RabbitMqClientError
impl Unpin for RabbitMqClientError
impl !UnwindSafe for RabbitMqClientError
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