StormByte-Buffer 2.0.0
C++26 buffer module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Buffer::IO::Result Struct Reference

Per-call status plus how many bytes this call transferred. More...

#include <StormByte/buffer/io/typedefs.hxx>

Collaboration diagram for StormByte::Buffer::IO::Result:

Public Attributes

Status status
 Outcome of the call.
 
StormByte::ByteSize count
 Bytes transferred this call.
 

Detailed Description

Per-call status plus how many bytes this call transferred.

count is 0 when the caller buffer was not consumed (Status::Failed, Status::Error, Status::TryAgain, or Status::End with no remaining bytes).

See also
Status

Member Data Documentation

◆ count

StormByte::ByteSize StormByte::Buffer::IO::Result::count

Bytes transferred this call.

◆ status

Status StormByte::Buffer::IO::Result::status

Outcome of the call.


The documentation for this struct was generated from the following file: