Function readChangeset

Transactionally read exactly one Changeset.

bool readChangeset(
  transport.source.ByteSource source,
  out OwnedChangeset changeset,
  out ChangesetReadStatus status,
  ChangesetReadOptions options = ChangesetReadOptions(0LU, 0LU, 0LU, 0LU, 0LU, 0LU)
) @safe;

Empty documents and query/list responses with more than one Changeset are rejected as invalidStructure rather than silently selecting an entry.