pub trait DataBackend<IS: InstrumentSpec> {
// Required methods
fn new(key: Option<&str>) -> Self;
fn file_name_postpend() -> &'static str;
fn stream_in(
&mut self,
buf_reader: BufReader<File>,
) -> impl Future<Output = impl ExactSizeIterator<Item = TradeTradeTimestamp<IS>>> + Send;
}Required Methods§
fn new(key: Option<&str>) -> Self
fn file_name_postpend() -> &'static str
fn stream_in( &mut self, buf_reader: BufReader<File>, ) -> impl Future<Output = impl ExactSizeIterator<Item = TradeTradeTimestamp<IS>>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".