pub trait StreamingReadiness {
// Required methods
fn bars_consumed(&self) -> usize;
fn warmup_bars(&self) -> usize;
// Provided method
fn is_ready(&self) -> bool { ... }
}Expand description
Readiness state for streaming indicators.
Required Methods§
Sourcefn bars_consumed(&self) -> usize
fn bars_consumed(&self) -> usize
Bars processed since construction (or last reset).
Sourcefn warmup_bars(&self) -> usize
fn warmup_bars(&self) -> usize
Bars required before the indicator is considered ready.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".