pub struct PublishAckFuture { /* private fields */ }Expand description
A future that resolves to a publish acknowledgment.
Implementations§
Source§impl PublishAckFuture
impl PublishAckFuture
Sourcepub async fn await_ack(self) -> Result<PublishAck>
pub async fn await_ack(self) -> Result<PublishAck>
Wait for the acknowledgment.
Trait Implementations§
Source§impl IntoFuture for PublishAckFuture
impl IntoFuture for PublishAckFuture
Source§type Output = Result<PublishAck, Error>
type Output = Result<PublishAck, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <PublishAckFuture as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <PublishAckFuture as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl Freeze for PublishAckFuture
impl !RefUnwindSafe for PublishAckFuture
impl Send for PublishAckFuture
impl Sync for PublishAckFuture
impl Unpin for PublishAckFuture
impl !UnwindSafe for PublishAckFuture
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