1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
//! Pipeline executor /// Pipeline executor for orchestrating scraping operations pub struct PipelineExecutor; impl PipelineExecutor { /// Create a new pipeline executor pub const fn new() -> Self { Self } } impl Default for PipelineExecutor { fn default() -> Self { Self::new() } } #[cfg(test)] #[allow(clippy::unwrap_used)] mod tests { use super::*; #[test] fn new_returns_executor() { let _e = PipelineExecutor::new(); } #[test] fn default_is_same_as_new() { let _ = PipelineExecutor; } }