pub struct ClusterConfig {
pub host: String,
pub port: u16,
pub concurrency: usize,
pub retries: u32,
pub monitor: bool,
pub viewport_width: i32,
pub viewport_height: i32,
}Expand description
Settings for Cluster::new.
Fields§
§host: StringChrome’s remote-debugging host.
port: u16Chrome’s remote-debugging port.
concurrency: usizeNumber of worker tabs to pre-create and run concurrently.
retries: u32Retries per task before it’s reported as failed.
monitor: boolPrint per-task timing/outcome to stdout as tasks complete.
viewport_width: i32Viewport width applied to every worker tab.
viewport_height: i32Viewport height applied to every worker tab.
Trait Implementations§
Source§impl Default for ClusterConfig
impl Default for ClusterConfig
Auto Trait Implementations§
impl Forget for ClusterConfig
impl Freeze for ClusterConfig
impl RefUnwindSafe for ClusterConfig
impl Send for ClusterConfig
impl Sync for ClusterConfig
impl Unpin for ClusterConfig
impl UnsafeUnpin for ClusterConfig
impl UnwindSafe for ClusterConfig
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