pub struct WindowedStream { /* private fields */ }Expand description
A time-windowed event stream.
Implementations§
Source§impl WindowedStream
impl WindowedStream
Sourcepub fn completed_windows(&self) -> Vec<Window>
pub fn completed_windows(&self) -> Vec<Window>
Get completed windows.
Sourcepub fn flush_completed(&self) -> Vec<Window>
pub fn flush_completed(&self) -> Vec<Window>
Remove completed windows and return them.
Auto Trait Implementations§
impl !Freeze for WindowedStream
impl RefUnwindSafe for WindowedStream
impl Send for WindowedStream
impl Sync for WindowedStream
impl Unpin for WindowedStream
impl UnsafeUnpin for WindowedStream
impl UnwindSafe for WindowedStream
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