LaunchArgs

Struct LaunchArgs 

Source
pub(crate) struct LaunchArgs<'a, 'b, 'c> {
Show 16 fields pub(crate) executable: Option<&'a Path>, pub(crate) args: Option<&'b [String]>, pub(crate) ignore_all_default_args: Option<bool>, pub(crate) handle_sigint: Option<bool>, pub(crate) handle_sigterm: Option<bool>, pub(crate) handle_sighup: Option<bool>, pub(crate) timeout: Option<f64>, pub(crate) devtools: Option<bool>, pub(crate) proxy: Option<ProxySettings>, pub(crate) downloads: Option<&'c Path>, pub(crate) slowmo: Option<f64>, pub(crate) env: Option<Map<String, Value>>, pub(crate) headless: Option<bool>, pub(crate) chromium_sandbox: Option<bool>, pub(crate) firefox_user_prefs: Option<Map<String, Value>>, pub(crate) channel: Option<BrowserChannel>,
}

Fields§

§executable: Option<&'a Path>§args: Option<&'b [String]>§ignore_all_default_args: Option<bool>§handle_sigint: Option<bool>§handle_sigterm: Option<bool>§handle_sighup: Option<bool>§timeout: Option<f64>§devtools: Option<bool>§proxy: Option<ProxySettings>§downloads: Option<&'c Path>§slowmo: Option<f64>§env: Option<Map<String, Value>>§headless: Option<bool>§chromium_sandbox: Option<bool>§firefox_user_prefs: Option<Map<String, Value>>§channel: Option<BrowserChannel>

Trait Implementations§

Source§

impl<'a, 'b, 'c> Debug for LaunchArgs<'a, 'b, 'c>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a, 'b, 'c> Default for LaunchArgs<'a, 'b, 'c>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a, 'b, 'c> Serialize for LaunchArgs<'a, 'b, 'c>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl<'a, 'b, 'c> Freeze for LaunchArgs<'a, 'b, 'c>

§

impl<'a, 'b, 'c> RefUnwindSafe for LaunchArgs<'a, 'b, 'c>

§

impl<'a, 'b, 'c> Send for LaunchArgs<'a, 'b, 'c>

§

impl<'a, 'b, 'c> Sync for LaunchArgs<'a, 'b, 'c>

§

impl<'a, 'b, 'c> Unpin for LaunchArgs<'a, 'b, 'c>

§

impl<'a, 'b, 'c> UnwindSafe for LaunchArgs<'a, 'b, 'c>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.