Struct cassandra_cpp::SessionFuture [] [src]

pub struct SessionFuture(_);

The future result of an attempt to create a new Cassandra session It can be waited on, polled or a callback can be attached.

Methods

impl SessionFuture
[src]

blocks until the session connects or errors 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 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 SessionFuture
[src]

Formats the value using the given formatter.

impl Drop for SessionFuture
[src]

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