StormByte C++ Library: Network module 1.1.0
StormByte-Network is the C++26 networking module of the StormByte suite.
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
rw.hxx File Reference
#include <StormByte/network/visibility.h>
#include <string>
Include dependency graph for rw.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  StormByte
 
namespace  StormByte::Network
 Network module of the StormByte suite.
 
namespace  StormByte::Network::Connection
 Connection types of the Network module.
 
namespace  StormByte::Network::Connection::Read
 Read-side result codes.
 
namespace  StormByte::Network::Connection::Write
 Write-side result codes.
 

Enumerations

enum class  StormByte::Network::Connection::Read::Result {
  StormByte::Network::Connection::Read::Success , StormByte::Network::Connection::Read::WouldBlock , StormByte::Network::Connection::Read::Closed , StormByte::Network::Connection::Read::Failed ,
  StormByte::Network::Connection::Read::Timeout , StormByte::Network::Connection::Read::ShutdownRequest
}
 Outcome of a wait/read. More...
 
enum class  StormByte::Network::Connection::Write::Result { StormByte::Network::Connection::Write::Success , StormByte::Network::Connection::Write::Failed }
 Outcome of a write. More...
 

Functions

constexpr std::string StormByte::Network::Connection::ToString (const StormByte::Network::Connection::Read::Result &result) noexcept
 Read result as text.
 
constexpr std::string StormByte::Network::Connection::ToString (const StormByte::Network::Connection::Write::Result &result) noexcept
 Write result as text.