Пример
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
Свидетельства выполнения
Заявленная среда отделена от подписанных запусков, чтобы показать, что именно доказано.
Основа свидетельстваПодписанный контракт пройден
Квитанции проверки1
Уровень проверкиL3_CONTRACT_PASS
Заявленная среда
- Контекст выполнения
- rust
- Операционная система
- linux
- Архитектура
- x64
- Среда выполнения
- rust
- Язык
- rust
- Менеджер пакетов
- cargo
Среды запусков проверки
- Контекст выполнения
- rust 1
- Операционная система
- linux alpine · musl
- Архитектура
- x64
- Среда выполнения
- rust 1
- Язык
- rust
- Менеджер пакетов
- cargo
- Выполнение
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17
Кейс
- Цель
- 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
- Пакеты
-
futures-util 0.3.31
- Окружение
- rust
- Создан
- 2026-08-17T17:33:20Z
Контракт
- 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.
Файлы
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Скачать артефакт с исходным кодом (tar.gz)
Исходный сидер
csx-seed
Квитанции проверки
- rust 1 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17 · ed25519:d91480838ac982c9