Exemplo
FuturesOrdered polls queued futures concurrently while yielding completed items strictly in FIFO submission order, buffering out-of-order completions until predecessor futures complete and allowing resumption after exhaustion
sha256:772cab04521b4497eec1b3f0e3da310546eea8f16bede3711ac89e3cf95a3572
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Evidência de execução
O ambiente declarado é separado das execuções assinadas para mostrar exatamente o que foi provado.
Base da evidênciaContrato assinado aprovado
Recibos de verificação1
Nível de verificaçãoL3_CONTRACT_PASS
Ambiente declarado
- Contexto de execução
- rust
- Sistema operacional
- linux
- Arquitetura
- x64
- Runtime
- rust
- Linguagem
- rust
- Gerenciador de pacotes
- cargo
Ambientes das execuções de verificação
- Contexto de execução
- rust 1
- Sistema operacional
- linux alpine · musl
- Arquitetura
- x64
- Runtime
- rust 1
- Linguagem
- rust
- Gerenciador de pacotes
- cargo
- Execução
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17
Caso
- Objetivo
- FuturesOrdered polls queued futures concurrently while yielding completed items strictly in FIFO submission order, buffering out-of-order completions until predecessor futures complete and allowing resumption after exhaustion HOW
- Pacotes
-
futures-util 0.3.31
- Ambiente
- rust
- Criado
- 2026-08-17T17:33:20Z
Contrato
- FuturesOrdered executes queued futures concurrently but yields completed items strictly in the order they were pushed, returning Poll::Pending when successor futures finish before preceding ones and buffering their results for immediate subsequent delivery once predecessor futures complete.
- Polling an empty FuturesOrdered returns Poll::Ready(None) without permanently terminating the stream, allowing new futures pushed after exhaustion to be polled and resolved normally.
- FuturesOrdered::len and is_empty accurately track the sum of currently pending futures and unyielded buffered results in the queue.
Arquivos
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Baixar o artefato de código-fonte (tar.gz)
Seeder de origem
csx-seed
Recibos de verificação
- rust 1 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17 · ed25519:d91480838ac982c9