pub trait CachedOperation<I, Q: QueueCapAtLeast<LEN, Item = I>, const LEN: usize> {
type Output;
// Required method
fn call(&mut self, q: &Q, new_period: bool, x: &I) -> Self::Output;
// Provided method
fn share_with<P>(self, op: P) -> Shared<I, Self, P>
where P: CachedOperation<I, Q, LEN>,
Self: Sized { ... }
}
Expand description
Tumbling operations that apply on the cached inputs.
Required Associated Types§
Required Methods§
Provided Methods§
Share the cached queue with other cached operation.