45class FutureWithCallback :
public Future {
47 using FnType = std::function<void(ResultOrError)>;
48 using FnPtrType = std::unique_ptr<FnType>;
50 FutureWithCallback(CassFuture* ptr, FnType&& cb);
51 FutureWithCallback(FutureWithCallback
const&) =
delete;
52 FutureWithCallback(FutureWithCallback&&) =
default;