Struct cassandra_cpp::CloseFuture [] [src]

pub struct CloseFuture(_);

The future result of a session close 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 CloseFuture
[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 CloseFuture
[src]

Formats the value using the given formatter.

impl Drop for CloseFuture
[src]

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