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::HttpService] used to implementAwcHttpConnector::connect. - AwcHttp
Connector - An [
object_store] [osc::HttpConnector]: a factory that builds one [awc]-backed [osc::HttpClient] per [osc::HttpConnector::connect] call. Create usingAwcHttpConnector::new. - Connector
Options π - The client options
AwcHttpConnector::connectunderstands, parsed from [osc::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Β§
- Error π
- Something that went wrong relaying a request through [
awc].
Type AliasesΒ§
- Apply
Option π - How
AwcHttpConnector::connectfolds one honored client option intoConnectorOptions: given the options parsed so far, return them with this one set.