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.
Structs§
- AppendWriter will implements
oio::Write
based on append object. - BlockWriter will implements
oio::Write
based on block uploads. - Entry is returned by
Page
orBlockingPage
during list operations. - FlatLister will walk dir in bottom up way:
- FlexBuf is a buffer that support frozen bytes and reuse existing allocated memory.
- ToHierarchyLister will convert a flat list to hierarchy by filter not needed entries.
- The result of
MultipartWrite::write_part
. - MultipartWriter will implements
oio::Write
based on multipart uploads. - OneShotWrite is used to implement
oio::Write
based on one shot. - PageContext is the context passing between
PageList
. - PooledBuf is a buffer pool that designed for reusing already allocated bufs.
- PositionWriter will implements
oio::Write
based on position write. - PrefixLister is used to filter entries by prefix.
- QueueBuf is a queue of
Buffer
.
Traits§
- AppendWrite is used to implement
oio::Write
based on append object. By implementing AppendWrite, services don’t need to care about the details of buffering and uploading parts. - BlockWrite is used to implement
oio::Write
based on block uploads. By implementing BlockWrite, services don’t need to care about the details of uploading blocks. - BlockingList is the blocking version of
List
. - Read is the trait that OpenDAL returns to callers.
- BlockingWrite is the trait that OpenDAL returns to callers.
- Page trait is used by
raw::Accessor
to implementlist
operation. - MultipartWrite is used to implement
oio::Write
based on multipart uploads. By implementing MultipartWrite, services don’t need to care about the details of uploading parts. - OneShotWrite is used to implement
oio::Write
based on one shot operation. By implementing OneShotWrite, services don’t need to care about the details. - PageList is used to implement
oio::List
based on API supporting pagination. By implementing PageList, services don’t need to care about the details of page list. - PositionWrite is used to implement
oio::Write
based on position write. - Read is the internal trait used by OpenDAL to read data from storage.
- ReadDyn is the dyn version of
Read
make it possible to use asBox<dyn ReadDyn>
. - Write is the trait that OpenDAL returns to callers.
Type Aliases§
- BlockingLister is a boxed
BlockingList
- BlockingReader is a arc dyn
BlockingRead
. - BlockingWriter is a type erased
BlockingWrite
- The boxed version of
List
- Reader is a type erased
Read
. - Writer is a type erased
Write