Module opendal::raw

source ·
Expand description

Raw modules provide raw APIs that used by underlying services

Notes

  • Only developers who want to develop new services or layers need to access raw APIs.
  • Raw APIs should only be accessed via opendal::raw::Xxxx, any public API should never expose raw API directly.
  • Raw APIs are far more less stable than public API, please don’t rely on them whenever possible.

Modules

Providing adapters and its implementations.
oio provides OpenDAL’s raw traits and types that opendal returns as output.

Structs

Metadata for accessor, users can use this metadata to get information of underlying backend.
BytesContentRange is the content range of bytes.
BytesRange(offset, size) carries a range of content.
ErrorResponse carries HTTP status code, headers and body.
HttpClient that used across opendal.
IncomingAsyncBody carries the content returned by remote servers.
PresignedRequest is a presigned request return by presign.
Reply for batch operation.
Reply for create operation
Reply for delete operation
Reply for list operation.
Reply for presign operation.
Reply for read operation.
Reply for scan operation.
Reply for stat operation.
Reply for write operation.

Enums

AccessorCapability describes accessor’s advanced capability.
AccessorHint describes accessor’s hint.
Body used in async HTTP requests.
Batch results of batch operations.
Body used in blocking HTTP requests.
Operation is the name for APIs in Accessor.

Constants

VERSION is the compiled version of OpenDAL.

Traits

Underlying trait of all backends for implementors.
Layer is used to intercept the operations on the underlying storage.
LayeredAccessor is layered accessor that forward all not implemented method to inner.

Functions

build_abs_path will build an absolute path with root.
build_rel_path will build a relative path towards root.
build_rooted_abs_path will build an absolute path with root.
format authorization header by basic auth.
format authorization header by bearer token.
format content md5 header by given input.
Get basename from path.
Get parent from path.
Parse json deserialize error into opendal::Error.
Parse json serialize error into opendal::Error.
Create a new error happened during building request.
Create a new error happened during signing request.
Parse xml deserialize error into opendal::Error.
Make sure all operation are constructed by normalized path:
Make sure root is normalized to style like /abc/def/.
Parse Content-Disposition for header map
Parse content length from header map.
Parse content md5 from header map.
Parse content range from header map.
Parse content type from header map.
parse_error_response will parse response into ErrorResponse.
Parse etag from header map.
parse_into_metadata will parse standards http headers into Metadata.
Parse last modified from header map.
Parse redirect location from header map
percent_encode_path will do percent encoding for http encode path.
Validate given path is match with given EntryMode.

Type Definitions

FusedAccessor is the type erased accessor with Box<dyn Reader>.