#[non_exhaustive]pub enum ClientOperationError {
RequestChannelClosed,
RequestChannelFull,
}Expand description
Errors when handing an operation to the MQTT client’s request queue.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RequestChannelClosed
The request channel to the event loop is closed (client shut down)
RequestChannelFull
The request channel to the event loop is full (backpressure)
Trait Implementations§
Source§impl Debug for ClientOperationError
impl Debug for ClientOperationError
Source§impl Display for ClientOperationError
impl Display for ClientOperationError
Source§impl Error for ClientOperationError
impl Error for ClientOperationError
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()
Source§impl From<ClientOperationError> for MqttClientError
impl From<ClientOperationError> for MqttClientError
Source§fn from(source: ClientOperationError) -> MqttClientError
fn from(source: ClientOperationError) -> MqttClientError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientOperationError
impl RefUnwindSafe for ClientOperationError
impl Send for ClientOperationError
impl Sync for ClientOperationError
impl Unpin for ClientOperationError
impl UnsafeUnpin for ClientOperationError
impl UnwindSafe for ClientOperationError
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