pub struct WorkflowHistoryIterator { /* private fields */ }Expand description
Lazy run-history enumeration. An error is propagated once, then it ends.
Implementations§
Source§impl WorkflowHistoryIterator
impl WorkflowHistoryIterator
Sourcepub fn into_stream(self) -> impl Stream<Item = Result<HistoryEvent>> + Send
pub fn into_stream(self) -> impl Stream<Item = Result<HistoryEvent>> + Send
Adapt to the standard async Stream API without eager fetching.
pub async fn next(&mut self) -> Result<Option<HistoryEvent>>
Auto Trait Implementations§
impl Freeze for WorkflowHistoryIterator
impl !RefUnwindSafe for WorkflowHistoryIterator
impl Send for WorkflowHistoryIterator
impl Sync for WorkflowHistoryIterator
impl Unpin for WorkflowHistoryIterator
impl !UnwindSafe for WorkflowHistoryIterator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more