pub struct CrawlerConfig {
pub max_concurrent_downloads: usize,
pub parser_workers: usize,
pub max_concurrent_pipelines: usize,
}Expand description
Configuration for the crawler’s concurrency settings.
Fields§
§max_concurrent_downloads: usizeThe maximum number of concurrent downloads.
parser_workers: usizeThe number of workers dedicated to parsing responses.
max_concurrent_pipelines: usizeThe maximum number of concurrent item processing pipelines.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrawlerConfig
impl RefUnwindSafe for CrawlerConfig
impl Send for CrawlerConfig
impl Sync for CrawlerConfig
impl Unpin for CrawlerConfig
impl UnwindSafe for CrawlerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more