pub enum BrokerErrorKind {
Disconnected,
MalformedBrokerResponse,
}
Expand description
Broker connection level error kind.
Variants§
Disconnected
The connection to the broker has terminated.
MalformedBrokerResponse
The broker returned a malformed response.
Trait Implementations§
Source§impl Debug for BrokerErrorKind
impl Debug for BrokerErrorKind
Source§impl Display for BrokerErrorKind
impl Display for BrokerErrorKind
Source§impl Error for BrokerErrorKind
impl Error for BrokerErrorKind
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 BrokerErrorKind
impl RefUnwindSafe for BrokerErrorKind
impl Send for BrokerErrorKind
impl Sync for BrokerErrorKind
impl Unpin for BrokerErrorKind
impl UnwindSafe for BrokerErrorKind
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