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.

Structs§

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 implement list 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 as Box<dyn ReadDyn>.
  • Write is the trait that OpenDAL returns to callers.

Type Aliases§