pub struct GlobalWindow;Expand description
Global window that contains all elements.
Trait Implementations§
Source§impl Clone for GlobalWindow
impl Clone for GlobalWindow
Source§fn clone(&self) -> GlobalWindow
fn clone(&self) -> GlobalWindow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlobalWindow
impl Debug for GlobalWindow
Source§impl Display for GlobalWindow
impl Display for GlobalWindow
Source§impl Hash for GlobalWindow
impl Hash for GlobalWindow
Source§impl PartialEq for GlobalWindow
impl PartialEq for GlobalWindow
Source§impl Window for GlobalWindow
impl Window for GlobalWindow
Source§impl WindowTrigger<GlobalWindow> for NeverTrigger
impl WindowTrigger<GlobalWindow> for NeverTrigger
Source§fn on_element(
&mut self,
_timestamp: DateTime<Utc>,
_window: &GlobalWindow,
) -> TriggerResult
fn on_element( &mut self, _timestamp: DateTime<Utc>, _window: &GlobalWindow, ) -> TriggerResult
Called when an element is added to a window.
Source§fn on_processing_time(
&mut self,
_time: DateTime<Utc>,
_window: &GlobalWindow,
) -> TriggerResult
fn on_processing_time( &mut self, _time: DateTime<Utc>, _window: &GlobalWindow, ) -> TriggerResult
Called when processing time advances.
Source§fn on_event_time(
&mut self,
_watermark: DateTime<Utc>,
_window: &GlobalWindow,
) -> TriggerResult
fn on_event_time( &mut self, _watermark: DateTime<Utc>, _window: &GlobalWindow, ) -> TriggerResult
Called when the watermark (event time) advances.
Source§fn clear(&mut self, _window: &GlobalWindow)
fn clear(&mut self, _window: &GlobalWindow)
Called when the trigger is cleared.
Source§fn clone_trigger(&self) -> Box<dyn WindowTrigger<GlobalWindow>>
fn clone_trigger(&self) -> Box<dyn WindowTrigger<GlobalWindow>>
Creates a clone of this trigger.
impl Eq for GlobalWindow
impl StructuralPartialEq for GlobalWindow
Auto Trait Implementations§
impl Freeze for GlobalWindow
impl RefUnwindSafe for GlobalWindow
impl Send for GlobalWindow
impl Sync for GlobalWindow
impl Unpin for GlobalWindow
impl UnwindSafe for GlobalWindow
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