pub struct ResponseManager<R> where
    R: Send + Debug
{ /* private fields */ }
Expand description

Encapsulates an asynchronous task that receives responses and requests asynchronously and matches them by id (u64). once both the response and the request are received, the request complete its future and receive the response.

Implementations

spawn a new self::ResponseManager and returns its task handle (crate::ResponseManagerHandle).

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.