pub enum PublishError {
TransceiverTaskTerminated,
}Expand description
An enumeration specifying what went wrong while trying to publish
a message using any of Client’s publish functions.
Variants§
TransceiverTaskTerminated
The client’s transceiver task terminated and thus the message might not have been transmitted to the broker.
This happens when Client::disconnect() or
ClientShutdownHandle::disconnect()
is called before the message could have been successfully transmitted by the
client or acknowledged by the server.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PublishError
impl RefUnwindSafe for PublishError
impl Send for PublishError
impl Sync for PublishError
impl Unpin for PublishError
impl UnwindSafe for PublishError
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