Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Namespaces | Functions
closeable.hh File Reference
#include <concepts>
#include <functional>
#include <seastar/core/future.hh>
#include <seastar/util/defer.hh>

Go to the source code of this file.

Classes

class  seastar::deferred_close< Object >
 
class  seastar::deferred_stop< Object >
 

Namespaces

namespace  seastar
 Seastar API namespace.
 

Functions

template<closeable Closeable, std::invocable< Closeable & > Func>
requires std::is_nothrow_move_constructible_v<Closeable> && std::is_nothrow_move_constructible_v<Func>
futurize_t< std::invoke_result_t< Func, Closeable & > > seastar::with_closeable (Closeable &&obj, Func func) noexcept
 
template<stoppable Stoppable, std::invocable< Stoppable & > Func>
requires std::is_nothrow_move_constructible_v<Stoppable> && std::is_nothrow_move_constructible_v<Func>
futurize_t< std::invoke_result_t< Func, Stoppable & > > seastar::with_stoppable (Stoppable &&obj, Func func) noexcept