pub struct GlobalWindowAssigner;Expand description
Global window assigner that assigns all elements to a single window.
Implementations§
Trait Implementations§
Source§impl Clone for GlobalWindowAssigner
impl Clone for GlobalWindowAssigner
Source§fn clone(&self) -> GlobalWindowAssigner
fn clone(&self) -> GlobalWindowAssigner
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 GlobalWindowAssigner
impl Debug for GlobalWindowAssigner
Source§impl Default for GlobalWindowAssigner
impl Default for GlobalWindowAssigner
Source§fn default() -> GlobalWindowAssigner
fn default() -> GlobalWindowAssigner
Returns the “default value” for a type. Read more
Source§impl WindowAssigner for GlobalWindowAssigner
impl WindowAssigner for GlobalWindowAssigner
Source§type W = GlobalWindow
type W = GlobalWindow
The window type produced by this assigner.
Source§fn assign_windows(&self, _timestamp: DateTime<Utc>) -> Vec<Self::W>
fn assign_windows(&self, _timestamp: DateTime<Utc>) -> Vec<Self::W>
Assign an element to zero or more windows. Read more
Source§fn default_trigger(&self) -> Box<dyn WindowTrigger<Self::W>>
fn default_trigger(&self) -> Box<dyn WindowTrigger<Self::W>>
Returns the default trigger for this assigner.
Source§fn is_event_time(&self) -> bool
fn is_event_time(&self) -> bool
Returns true if this assigner produces event-time windows.
Auto Trait Implementations§
impl Freeze for GlobalWindowAssigner
impl RefUnwindSafe for GlobalWindowAssigner
impl Send for GlobalWindowAssigner
impl Sync for GlobalWindowAssigner
impl Unpin for GlobalWindowAssigner
impl UnwindSafe for GlobalWindowAssigner
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