26class FutureWithCallback :
public Future {
28 using FnType = std::function<void(ResultOrError)>;
29 using FnPtrType = std::unique_ptr<FnType>;
31 FutureWithCallback(CassFuture* ptr, FnType&& cb);
32 FutureWithCallback(FutureWithCallback
const&) =
delete;
33 FutureWithCallback(FutureWithCallback&&) =
default;