pub async fn fetch_operation_range<F, Op, D, Error, Fetch, FetchFuture>(
op_count: Location<F>,
start_loc: Location<F>,
max_ops: NonZeroU64,
include_pinned_nodes: bool,
fetch: Fetch,
) -> Result<FetchResult<F, Op, D>, Error>where
F: Family,
D: Digest,
Fetch: FnOnce(Location<F>, Location<F>, NonZeroU64, bool) -> FetchFuture,
FetchFuture: Future<Output = Result<FetchedOperations<F, Op, D>, Error>>,Expand description
Fetch an operation range with a caller-provided callback and package it as a
FetchResult.
Use this when the source returns the proof, operations, and optional pinned nodes together,
such as a network get_operations request.