Struct PendingPublish
pub struct PendingPublish {
pub _progress_tx: Sender<PublishProgress>,
pub result_tx: Sender<Result<ReasonCode, Error>>,
}Expand description
Held by the event loop for each in-flight QoS > 0 publish.
Fields§
§_progress_tx: Sender<PublishProgress>Kept alive so the token’s watch::Receiver stays valid; updates are
sent through this channel as the publish progresses.
result_tx: Sender<Result<ReasonCode, Error>>Auto Trait Implementations§
impl Freeze for PendingPublish
impl !RefUnwindSafe for PendingPublish
impl Send for PendingPublish
impl Sync for PendingPublish
impl Unpin for PendingPublish
impl !UnwindSafe for PendingPublish
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