Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::DocumentExportResult Struct Reference

Export outcome, including the prefix preserved after an error. More...

#include <document_export.hpp>

Public Attributes

DocumentRevision revision
 Source and revision fixed before the first output write.
DocumentByteRange range
 Requested range, with an observed exact end when available.
std::uint64_t bytesRead {}
 Accepted source bytes, including unwritten pages and a possible range-start probe.
std::uint64_t bytesWritten {}
 Exactly accepted output bytes unless writtenCountExact is false.
bool writtenCountExact {true}
 False if a throwing/invalid sink reply prevented exact admission accounting.
bool complete {}
 True only after the complete range and successful sink finalization.
std::optional< DocumentError > error
 First failure only; a later finish failure is discarded. Empty on success.

Detailed Description

Export outcome, including the prefix preserved after an error.


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