Expand description
Transport-neutral acquisition seam and deterministic fixture transport.
An adapter receives an exact caller-selected URL, enforces caller-provided
byte/time bounds, writes artifacts to a transaction-owned destination, and
returns typed Success | NotFound | Failure without release or fallback
policy. Downloaded bytes are data and are never executed.
Structs§
- Acquisition
Request - An exact acquisition request selected by caller policy.
- Artifact
Evidence - Streamed artifact evidence.
- Cancel
Flag - Cooperative cancellation flag checked during streaming.
- Composed
Transport - Explicit caller-selected preferred/fallback composition over two transports.
- Fetch
Limits - Caller-provided byte and time bounds for one fetch.
- Fixture
Response - One deterministic fixture response.
- Fixture
Transport - Deterministic in-memory transport for correctness tests.
- Metadata
Bytes - Bounded small-body metadata bytes.
Enums§
- Acquisition
Error - Hard acquisition failure. Never used for
NotFound. - Composition
Policy - Caller-selected fallback scope for a composed transport.
- Fetch
Outcome - Typed success/absence outcome. Hard failures are
Err(AcquisitionError).
Traits§
- Acquisition
Transport - The minimal transport-neutral acquisition contract.
Functions§
- redact_
url - Redacts credential-bearing URL material for diagnostics.
Type Aliases§
- Shared
Transport - Shared ownership helper for tests that need a transport behind
Arc.