class LogsSubscription
Defined at line 104 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h
Public Methods
void LogsSubscription (fidl::SharedClient<fuchsia_diagnostics::BatchIterator> iterator, async::Executor & executor)
Defined at line 41 of file ../../sdk/lib/diagnostics/reader/cpp/logs.cc
LogsSubscription::Promise Next ()
Returns a promise that will resolve when the iterator receives the next
log. When the stream has completed and no more data will come, returns `std::nullopt`.
Defined at line 49 of file ../../sdk/lib/diagnostics/reader/cpp/logs.cc
bool Done ()
Whether or not the subscription is Done. When this returns `true`, `Next` is guaranteed to
return `std::nullopt`.
Defined at line 47 of file ../../sdk/lib/diagnostics/reader/cpp/logs.cc
void LogsSubscription (const LogsSubscription & )
Not movable nor copyable.
Defined at line 112 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h
void LogsSubscription (LogsSubscription && )
Defined at line 113 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h
LogsSubscription & operator= (const LogsSubscription & )
Defined at line 114 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h
LogsSubscription & operator= (LogsSubscription && )
Defined at line 115 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h