Apache OpenDALâ„¢ C++ Binding
The C++ binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
opendal::async::Lister Class Reference

Async Lister is designed to list entries at a specified path in an asynchronous manner. More...

#include <opendal_async.hpp>

Public Types

using NextFuture = opendal::ffi::async::RustFutureEntryOption
 

Public Member Functions

 Lister (const Lister &)=delete
 
Listeroperator= (const Lister &)=delete
 
 Lister (Lister &&other) noexcept
 
Listeroperator= (Lister &&other) noexcept
 
 ~Lister () noexcept
 
 Lister (size_t lister_id) noexcept
 
NextFuture next ()
 Get the next entry in the listing.
 

Friends

class Operator
 

Detailed Description

Async Lister is designed to list entries at a specified path in an asynchronous manner.

It provides streaming iteration over directory entries.

Member Typedef Documentation

◆ NextFuture

using opendal::async::Lister::NextFuture = opendal::ffi::async::RustFutureEntryOption

Constructor & Destructor Documentation

◆ Lister() [1/3]

opendal::async::Lister::Lister ( const Lister )
delete

◆ Lister() [2/3]

opendal::async::Lister::Lister ( Lister &&  other)
noexcept

◆ ~Lister()

opendal::async::Lister::~Lister ( )
noexcept

◆ Lister() [3/3]

opendal::async::Lister::Lister ( size_t  lister_id)
explicitnoexcept

Member Function Documentation

◆ next()

NextFuture opendal::async::Lister::next ( )

Get the next entry in the listing.

Returns
Future that resolves to the next entry path, or empty string if no more entries

◆ operator=() [1/2]

Lister & opendal::async::Lister::operator= ( const Lister )
delete

◆ operator=() [2/2]

Lister & opendal::async::Lister::operator= ( Lister &&  other)
noexcept

Friends And Related Symbol Documentation

◆ Operator

friend class Operator
friend

The documentation for this class was generated from the following file: