Module opendal::raw::oio

source ·
Expand description

oio provides OpenDAL’s raw traits and types that opendal returns as output.

Those types should only be used internally and we don’t want users to depend on them. So we should also implement trait like AsyncRead for our output traits.

Modules

into_blocking_reader will provide different implementations to convert into oio::BlockingRead
into_reader will provide different implementations to convert into oio::Read

Structs

Cursor is the cursor for [Bytes] that implements oio::Read
Entry is returned by Page or BlockingPage during list operations.
Make given read streamable.
ToFlatPager will walk dir in bottom up way:
ToHierarchyPager will convert a flat page to hierarchy by filter not needed entries.

Enums

PageOperation is the name for APIs of pager.
PageOperation is the name for APIs of pager.
WriteOperation is the name for APIs of Writer.

Traits

BlockingPage is the blocking version of Page.
Read is the trait that OpenDAL returns to callers.
BlockingWrite is the trait that OpenDAL returns to callers.
Page trait is used by crate::raw::Accessor to implement list or scan operation.
Read is the trait that OpenDAL returns to callers.
Extension of Read to make it easier for use.
Write is the trait that OpenDAL returns to callers.

Functions

as_streamable is used to make oio::Read or oio::BlockingRead streamable.
to_flat_pager is used to make a hierarchy pager flat.
to_hierarchy_pager is used to make a hierarchy pager flat.

Type Definitions

BlockingPager is a boxed BlockingPage
BlockingReader is a boxed dyn BlockingRead.
BlockingWriter is a type erased BlockingWrite
The boxed version of Page
Reader is a type erased Read.
Writer is a type erased Write