샘플
Handle http-body-util Collected body aggregation, to_bytes conversion, trailer inspection order, and Infallible error boxing
sha256:c9718cb574b223b501bc0543170c23d73dfe9db56bda6c876822d6dfe6c1b005
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Handle http-body-util Collected body aggregation, to_bytes conversion, trailer inspection order, and Infallible error boxing HOW
- 패키지
- http-body-util 0.1.5
- 환경
- rust
- 생성일
- 2026-08-17T02:33:40Z
컨트랙트
- Collected::aggregate().chunk() yields only the first frame chunk on multi-frame bodies, not the entire contiguous payload
- Collected::to_bytes() consumes Collected by value and concatenates all data frames into a single Bytes buffer
- Collected::trailers() borrows Collected and must be inspected before to_bytes() consumes the instance
- Full and Empty bodies have Infallible error types requiring map_err to construct heterogeneous BoxBody with dynamic error types
- Limited returns a boxed LengthLimitError when accumulated body bytes exceed the configured limit
파일
- .gitignore
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
- tests/contract.rs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17 · ed25519:d91480838ac982c9