Struct cassandra_cpp::CassFuture
source · [−]pub struct CassFuture<T> { /* private fields */ }
Expand description
A future representing the result of a Cassandra driver operation.
On success, returns a result of type T
. On failure, returns a Cassandra error.
When constructing this take care to supply the correct type argument, since it will
be used to control how the result is extracted from the underlying Cassandra
driver future (see Completable
).
Implementations
Trait Implementations
A Cassandra future is a normal Rust future.
Auto Trait Implementations
impl<T> !RefUnwindSafe for CassFuture<T>
impl<T> Unpin for CassFuture<T> where
T: Unpin,
impl<T> !UnwindSafe for CassFuture<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.