Struct cassandra_cpp::ResultFuture [] [src]

#[must_use]
pub struct ResultFuture(_);

The future result of an operation. It can represent a result if the operation completed successfully or an error if the operation failed. It can be waited on, polled or a callback can be attached.

Methods

impl ResultFuture
[src]

Blocks until the future returns or times out

Gets the error code from future. If the future is not ready this method will wait for the future to be set.

Gets the error message from future. If the future is not ready this method will wait for the future to be set.

Gets the result of a successful future. If the future is not ready this method will wait for the future to be set. a None response indicates that there was an error

Trait Implementations

impl Debug for ResultFuture
[src]

Formats the value using the given formatter.

impl Drop for ResultFuture
[src]

A method called when the value goes out of scope. Read more