pub struct ChromedriverRunConfig {
pub version: VersionRequest,
pub port: PortRequest,
pub output_listener: Option<DriverOutputListener>,
}Expand description
Configuration used when running a ChromeDriver process.
Fields§
§version: VersionRequestThe requested ChromeDriver version.
port: PortRequestThe requested ChromeDriver port.
output_listener: Option<DriverOutputListener>Optional callback for browser-driver process output lines.
Implementations§
Source§impl ChromedriverRunConfig
impl ChromedriverRunConfig
Sourcepub fn builder() -> ChromedriverRunConfigBuilder<((), (), ())>
pub fn builder() -> ChromedriverRunConfigBuilder<((), (), ())>
Create a builder for building ChromedriverRunConfig.
On the builder, call .version(...)(optional), .port(...)(optional), .output_listener(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of ChromedriverRunConfig.
Trait Implementations§
Source§impl Clone for ChromedriverRunConfig
impl Clone for ChromedriverRunConfig
Source§fn clone(&self) -> ChromedriverRunConfig
fn clone(&self) -> ChromedriverRunConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChromedriverRunConfig
impl Debug for ChromedriverRunConfig
Auto Trait Implementations§
impl Freeze for ChromedriverRunConfig
impl !RefUnwindSafe for ChromedriverRunConfig
impl Send for ChromedriverRunConfig
impl Sync for ChromedriverRunConfig
impl Unpin for ChromedriverRunConfig
impl UnsafeUnpin for ChromedriverRunConfig
impl !UnwindSafe for ChromedriverRunConfig
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