pub trait TimeMatrixTick {
// Required methods
fn tick(&mut self, timestamp: Timestamp) -> Result<(), FoldError>;
fn tick_and_get_buffers(
&mut self,
timestamp: Timestamp,
) -> Result<SerializedBuffer, FoldError>;
}Expand description
A TimeMatrix type that can be advanced forward in time.
This trait provides tick operations for [TimeMatrix] types. Ticking a TimeMatrix causes
sample interpolation within and aggregation propagation across SamplingIntervals.
Importantly, this trait is dyn compatible and type erased; it can be used to tick a
TimeMatrix regardless of its input type parameters (sample type, interpolation type, etc.).
See also the TimeMatrixFold subtrait.