pub struct ContextPath(pub String);
impl Default for ContextPath {
fn default() -> Self {
Self("/tmp/rs_ingestion_temp".to_string())
}
}
#[derive(Copy, Clone, Debug)]
pub enum SupportedNetwork {
Futurenet,
Pubnet,
Testnet
}
pub struct IngestionConfig {
pub executable_path: String,
pub context_path: ContextPath,
pub network: SupportedNetwork,
pub bounded_buffer_size: Option<usize>,
pub staggered: Option<u32>,
}