15#include <dfx-utilities/BorrowedFd.hpp>
31using Callback = std::move_only_function<void ()>;
Event interest and trigger flags for file-descriptor watching (Linux/epoll).
Bitset wrapper for dfx::FdWatch::EventTrigger values.
Non-owning wrapper around a file descriptor.
Definition BorrowedFd.hpp:33
Definition SocketClient.hpp:23
std::move_only_function< void()> Callback
Generic move-only callback with no arguments.
Definition Callback.hpp:31
std::function< void(Utils::BorrowedFd, EventTriggers)> FdCallback
Invoked when events occur on a watched file descriptor.
Definition Callback.hpp:28