Expand description
An object_store osc::HttpConnector built on awc, letting the S3 store run without
reqwest (and hence without ring).
StructsΒ§
- AwcClient π
- The
osc::HttpServiceused to implementAwcHttpConnector::connect. - AwcHttp
Connector - An
object_storeosc::HttpConnector: a factory that builds oneawc-backedosc::HttpClientperosc::HttpConnector::connectcall. Create usingAwcHttpConnector::new. - Connector
Options π - The client options
AwcHttpConnector::connectunderstands, parsed fromosc::ClientOptions. - Job π
- A request for the worker thread, with a channel for the response head.
- Request
Body π - Adapts object_storeβs request body to an awc
awc::body::MessageBody. - Response
Body π - The response body object_store reads: it maps the
SyncStreamthat relays awcβs body chunks off the worker thread intohttp_bodydata frames. ATruncatedrelay β the worker was torn down before the body finished β becomes a retryable error, so object_store never accepts a silently short body as complete.
EnumsΒ§
Type AliasesΒ§
- Apply
Option π - How
AwcHttpConnector::connectfolds one honored client option intoConnectorOptions: given the options parsed so far, return them with this one set.