Expand description
Top-level dispatcher for the unified GetDocumentsCount request.
Owns the whole pipeline: CBOR-decode → mode detection →
per-mode executor (see super::executors) → response
wrapping. The drive-abci handler builds a
DocumentCountRequest and calls
Drive::execute_document_count_request; everything past
contract lookup lives in drive.
Both DocumentCountRequest and DocumentCountResponse are
the ABI for this dispatcher — they’re public so drive-abci can
name the input/output types without reaching into the
executor surface.
Module is gated feature = "server" via the parent’s
pub mod drive_dispatcher; declaration.
Structs§
- Document
Count Request - All inputs required for the unified document-count entry point
Drive::execute_document_count_request. Built by the gRPC handler from aGetDocumentsCountRequestV0after CBOR-decoding + contract lookup; drive owns everything past this point including mode detection, index picking, and per-mode dispatch.
Enums§
- Document
Count Response - Output shape of
Drive::execute_document_count_request. Three variants mirror the proto’sCountResults.variantoneof (for no-proof responses) plus the outerProofarm: