46 { s.poll(h) }
noexcept -> std::same_as<std::size_t>;
Definition datagram_source.hpp:47
Definition reactor.hpp:37
A handler that accepts every datagram: the shape poll() is checked against.
Definition datagram_source.hpp:42
void operator()(std::span< const std::byte >, const RxMeta &) const noexcept
Definition datagram_source.hpp:43
Definition datagram_source.hpp:33
int last_error
errno of the last failed receive call
Definition datagram_source.hpp:38
std::uint64_t truncated
larger than the receive buffer; dropped
Definition datagram_source.hpp:36
std::uint64_t bytes
payload bytes delivered
Definition datagram_source.hpp:35
std::uint64_t datagrams
delivered to the handler
Definition datagram_source.hpp:34
std::uint64_t errors
failed receive calls other than EAGAIN
Definition datagram_source.hpp:37