Struct cassandra_cpp::CassFuture [−][src]
#[must_use]pub struct CassFuture<T> { /* fields omitted */ }
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
impl<T: Completable> CassFuture<T>[src]
impl<T: Completable> CassFuture<T>[src]Trait Implementations
impl<T: Debug> Debug for CassFuture<T>[src]
impl<T: Debug> Debug for CassFuture<T>[src]impl<T> Drop for CassFuture<T>[src]
impl<T> Drop for CassFuture<T>[src]impl<T: Completable> Future for CassFuture<T>[src]
impl<T: Completable> Future for CassFuture<T>[src]A Cassandra future is a normal Rust future.
impl<T> Send for CassFuture<T> where
T: Send, [src]
T: Send,
impl<T> Sync for CassFuture<T>[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for CassFuture<T>
impl<T> Unpin for CassFuture<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for CassFuture<T>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<F> IntoFuture for F where
F: Future, [src]
impl<F> IntoFuture for F where
F: Future, [src]type Output = <F as Future>::Output
type Output = <F as Future>::Output🔬 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?
pub fn into_future(self) -> <F as IntoFuture>::Future[src]
pub fn into_future(self) -> <F as IntoFuture>::Future[src]🔬 This is a nightly-only experimental API. (
into_future)Creates a future from a value.