Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ModelRows< T > Struct Template Reference

Provider result borrowing from its immutable snapshot. More...

#include <model.hpp>

Public Attributes

RangeState state {RangeState::PENDING}
 Pending never blocks or initiates I/O.
std::span< const ModelRow< T > > rows
 Exactly the requested count when ready; otherwise empty.
std::string_view error
 Snapshot-owned description when error; otherwise empty.

Detailed Description

template<class T>
struct portals::ModelRows< T >

Provider result borrowing from its immutable snapshot.

Template Parameters
TDomain row value type; snapshot-owned reachable data must remain immutable and support destruction on the final owner's thread. Library range/frame/request operations do not copy T values.

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