High performance C++ framework for concurrent servers
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
seastar::future_state_base Struct Reference


union  any

Public Types

enum  state : uintptr_t { invalid = 0, future = 1, result = 2, exception_min = 3 }

Public Member Functions

 future_state_base (future_state_base &&x) noexcept
bool available () const noexcept
bool failed () const noexcept
void set_to_broken_promise () noexcept
void set_exception (std::exception_ptr ex) noexcept
std::exception_ptr get_exception () &&noexcept
std::exception_ptr get_exception () const &noexcept

Public Attributes

union seastar::future_state_base::any _u

The documentation for this struct was generated from the following file: