Struct cassandra_cpp::PreparedFuture [] [src]

pub struct PreparedFuture(_);

The future result of an prepared statement. 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 PreparedFuture
[src]

Wait for the future to be set with either a result or error.

Important: Do not wait in a future callback. Waiting in a future callback will cause a deadlock.

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.

Trait Implementations

impl Debug for PreparedFuture
[src]

Formats the value using the given formatter.

impl Drop for PreparedFuture
[src]

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