pub fn new_advance_remote(
    logger: slog::Logger,
    host: String,
    port: Option<u16>,
    timestamp: SystemTime,
) -> Result<Advance<DataFrame, Model>> {
    let store = Box::new(RemoteStore {
        store: crate::remote_store::RemoteStore::new(host, port)?,
    });

    Ok(Advance {
        logger,
        store,
        cached_sample: None,
        target_timestamp: timestamp,
        current_direction: Direction::Forward,
    })
}
/// Construct a new Advance object with remote store
Construct a new Advance object with remote store
Construct a new Advance object with remote store
pub fn new_advance_remote(
    logger: slog::Logger,
    host: String,
    port: Option<u16>,
    timestamp: SystemTime,
) -> Result<Advance<DataFrame, Model>> {
    let store = Box::new(RemoteStore {
        store: crate::remote_store::RemoteStore::new(host, port)?,
    });
    Ok(Advance {
        logger,
        store,
        cached_sample: None,
        target_timestamp: timestamp,
        current_direction: Direction::Forward,
    })
}
pub fn new_advance_remote ( logger : slog :: Logger , host : String , port : Option < u16 > , timestamp : SystemTime , ) -> Result < Advance < DataFrame , Model > > { let store = Box :: new ( RemoteStore { store : crate :: remote_store :: RemoteStore :: new ( host , port ) ? , } ) ; Ok ( Advance { logger , store , cached_sample : None , target_timestamp : timestamp , current_direction : Direction :: Forward , } ) }
Construct a new Advance object with remote store
Construct a new Advance object with remote store
logger
slog::Logger
host
String
port
Option<u16>
timestamp
SystemTime
logger
slog::Logger
host
String
port
Option<u16>
timestamp
SystemTime