Skip to main content

Crate codebook_downloader

Crate codebook_downloader 

Source

Structs§

Downloader
PermanentHttpError
A definitive HTTP client-error response (4xx, e.g. 404). The server answered; retrying won’t change the result. Downloads fail fast on these, and callers can back off much longer than for transient failures. Retrieve via err.downcast_ref::<PermanentHttpError>().
ReqwestTransport
Production transport backed by a lazily-built reqwest client with platform-verified TLS (bundled Mozilla roots as fallback).
TransportResponse
A response from an HttpTransport: status code, the Last-Modified header if present, and a streaming body.

Traits§

HttpTransport
The HTTP layer behind the Downloader. Production uses the reqwest implementation; tests inject an in-memory fake so cargo test never opens a socket.