Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
data::cassandra::impl::FutureWithCallback Class Reference
Inheritance diagram for data::cassandra::impl::FutureWithCallback:
Collaboration diagram for data::cassandra::impl::FutureWithCallback:

Public Types

using FnType = std::function<void(ResultOrError)>
 
using FnPtrType = std::unique_ptr<FnType>
 

Public Member Functions

 FutureWithCallback (CassFuture *ptr, FnType &&cb)
 
 FutureWithCallback (FutureWithCallback const &)=delete
 
 FutureWithCallback (FutureWithCallback &&)=default
 
- Public Member Functions inherited from data::cassandra::impl::Future
 Future (CassFuture *ptr)
 
MaybeError await () const
 
ResultOrError get () const
 
- Public Member Functions inherited from data::cassandra::impl::ManagedObject< CassFuture >
 ManagedObject (CassFuture *rawPtr, DeleterCallable deleter)
 
 operator CassFuture * () const
 

Additional Inherited Members

- Protected Attributes inherited from data::cassandra::impl::ManagedObject< CassFuture >
std::unique_ptr< CassFuture, void(*)(CassFuture *)> ptr_
 

The documentation for this class was generated from the following files: