Struct indicator::ticked::tumbling::TumblingOperator
source · pub struct TumblingOperator<M: TumblingWindow, Q: QueueCapAtLeast<LEN>, P, const LEN: usize> { /* private fields */ }
Expand description
Tumbling operator.
Trait Implementations§
source§impl<M: TumblingWindow + Clone, Q: QueueCapAtLeast<LEN>, P: Clone, const LEN: usize> Clone for TumblingOperator<M, Q, P, LEN>
impl<M: TumblingWindow + Clone, Q: QueueCapAtLeast<LEN>, P: Clone, const LEN: usize> Clone for TumblingOperator<M, Q, P, LEN>
source§impl<M: TumblingWindow, I: Tickable, Q: QueueCapAtLeast<LEN>, P: TumblingOperation<I::Value, Q, LEN>, const LEN: usize> Operator<I> for TumblingOperator<M, Q, P, LEN>
impl<M: TumblingWindow, I: Tickable, Q: QueueCapAtLeast<LEN>, P: TumblingOperation<I::Value, Q, LEN>, const LEN: usize> Operator<I> for TumblingOperator<M, Q, P, LEN>
Auto Trait Implementations§
impl<M, Q, P, const LEN: usize> RefUnwindSafe for TumblingOperator<M, Q, P, LEN>where M: RefUnwindSafe, P: RefUnwindSafe, Q: RefUnwindSafe, <Q as QueueCapAtLeast<LEN>>::Item: RefUnwindSafe,
impl<M, Q, P, const LEN: usize> Send for TumblingOperator<M, Q, P, LEN>where M: Send, P: Send, Q: Send, <Q as QueueCapAtLeast<LEN>>::Item: Send,
impl<M, Q, P, const LEN: usize> Sync for TumblingOperator<M, Q, P, LEN>where M: Sync, P: Sync, Q: Sync, <Q as QueueCapAtLeast<LEN>>::Item: Sync,
impl<M, Q, P, const LEN: usize> Unpin for TumblingOperator<M, Q, P, LEN>where M: Unpin, P: Unpin, Q: Unpin, <Q as QueueCapAtLeast<LEN>>::Item: Unpin,
impl<M, Q, P, const LEN: usize> UnwindSafe for TumblingOperator<M, Q, P, LEN>where M: UnwindSafe, P: UnwindSafe, Q: UnwindSafe, <Q as QueueCapAtLeast<LEN>>::Item: UnwindSafe,
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
source§impl<I, T> OperatorExt<I> for Twhere
T: Operator<I>,
impl<I, T> OperatorExt<I> for Twhere T: Operator<I>,
source§fn then<P2>(self, other: P2) -> Then<I, Self, P2>where
Self: Sized,
P2: Operator<Self::Output>,
fn then<P2>(self, other: P2) -> Then<I, Self, P2>where Self: Sized, P2: Operator<Self::Output>,
Combine with another operator that uses
Self::Output
as input type. Read moresource§fn facet<P2>(self, other: P2) -> Facet<I, Self, P2>where
Self: Sized,
P2: Operator<I>,
fn facet<P2>(self, other: P2) -> Facet<I, Self, P2>where Self: Sized, P2: Operator<I>,
Combine with another operator with the same input type. Read more
source§fn map<O, F>(self, f: F) -> Then<I, Self, Map<F>>where
Self: Sized,
F: FnMut(Self::Output) -> O,
fn map<O, F>(self, f: F) -> Then<I, Self, Map<F>>where Self: Sized, F: FnMut(Self::Output) -> O,
Map the output after performing the operator.
source§fn boxed<'a>(self) -> BoxOperator<'a, I, Self::Output>where
Self: Sized + Send + 'a,
fn boxed<'a>(self) -> BoxOperator<'a, I, Self::Output>where Self: Sized + Send + 'a,
Convert into a
BoxOperator
.source§fn boxed_local<'a>(self) -> LocalBoxOperator<'a, I, Self::Output>where
Self: Sized + 'a,
fn boxed_local<'a>(self) -> LocalBoxOperator<'a, I, Self::Output>where Self: Sized + 'a,
Convert into a
LocalBoxOperator
.source§fn into_async_operator(self) -> Next<Self>where
Self: Sized,
fn into_async_operator(self) -> Next<Self>where Self: Sized,
Convert into a [
AsyncOperator
].