Struct paho_mqtt::async_client::Token [] [src]

pub struct Token { /* fields omitted */ }

A Token is a mechanism for tracking the progress of an asynchronous operation.

Methods

impl Token
[src]

Creates a new, unsignaled Token.

Creates a new, unsignalled delivery Token. This ia a token which tracks delivery of a message.

Creates a new, unsignalled Token with callbacks.

Creates a new Token signalled with an error.

Blocks the caller until the asynchronous operation has completed.

Blocks the caller a limited amount of time waiting for the asynchronous operation to complete.