44#include <StormByte/type_traits/safe.hxx>
47#include <StormByte/byte_size.hxx>
48#include <StormByte/platform.h>
49#include <StormByte/type_traits.hxx>
General exception for buffer errors.
Definition exception.hxx:166
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Status and operations of a Bridge pump thread.
Status
Whether the Bridge worker is pumping.
Definition typedefs.hxx:237
@ Started
Worker may pull when there is room.
Definition typedefs.hxx:241
@ Stopped
No backend.
Definition typedefs.hxx:249
@ Paused
Worker does not pull.
Definition typedefs.hxx:245
Operation
Verbs for Bridge::Drainer.
Definition typedefs.hxx:256
@ Flush
Push what is already held.
Definition typedefs.hxx:264
@ Toggle
Switch between Started and Paused.
Definition typedefs.hxx:260
STORMBYTE_FORCE_INLINE constexpr std::string_view ToString(Status status) noexcept
Enumerator name of status.
Definition typedefs.hxx:272
Buffered binary sources and sinks.
Location
Where the bytes of a file-like source or sink live.
Definition typedefs.hxx:180
@ Local
Path is a filesystem path on this machine.
Definition typedefs.hxx:184
@ Remote
Path names a non-local target.
Definition typedefs.hxx:188
Status
Outcome of a single I/O call.
Definition typedefs.hxx:76
@ End
Origin exhausted; Result::count may be short.
Definition typedefs.hxx:84
@ Error
Origin failed during the call; buffers untouched.
Definition typedefs.hxx:88
@ Ok
The call completed as requested (see Result::count).
Definition typedefs.hxx:80
@ Failed
Illegal call or dead session; buffers untouched.
Definition typedefs.hxx:92
@ TryAgain
Not accepted; buffers untouched.
Definition typedefs.hxx:96
STORMBYTE_FORCE_INLINE constexpr std::string_view ToString(Status status) noexcept
Enumerator name of status.
Definition typedefs.hxx:141
State
Session state of a coordinated reader or writer.
Definition typedefs.hxx:105
@ Missing
Last Open: path or parent does not exist.
Definition typedefs.hxx:113
@ Fault
Origin I/O error mid-transfer.
Definition typedefs.hxx:129
@ Unavailable
Construction, after Close, or origin gone.
Definition typedefs.hxx:133
@ Idle
Armed.
Definition typedefs.hxx:109
@ Directory
Last Open: path is a directory.
Definition typedefs.hxx:117
@ NotWritable
Last Open or mid-write: cannot write.
Definition typedefs.hxx:125
@ Permission
Last Open: exists; read open denied.
Definition typedefs.hxx:121
Buffer module of the StormByte suite.
Root namespace of the StormByte C++ suite.
Per-call status plus how many bytes this call transferred.
Definition typedefs.hxx:214
Status status
Outcome of the call.
Definition typedefs.hxx:218
StormByte::ByteSize count
Bytes transferred this call.
Definition typedefs.hxx:222
#define STORMBYTE_BUFFER_PUBLIC
Definition visibility.h:54