[][src]Enum mozrunner::firefox_args::Arg

pub enum Arg {
    Foreground,
    NoRemote,
    NamedProfile,
    Profile,
    ProfileManager,
    Other(String),
    None,
}

Represents a Firefox command-line argument.

Variants

Foreground

-foreground ensures application window gets focus, which is not the default on macOS.

NoRemote

-no-remote prevents remote commands to this instance of Firefox, and ensure we always start a new instance.

NamedProfile

-P NAME starts Firefox with a profile with a given name.

Profile

-profile PATH starts Firefox with the profile at the specified path.

ProfileManager

-ProfileManager starts Firefox with the profile chooser dialogue.

Other(String)

All other arguments.

None

Not an argument.

Trait Implementations

impl<'a> From<&'a OsString> for Arg
[src]

impl PartialEq<Arg> for Arg
[src]

impl Debug for Arg
[src]

Auto Trait Implementations

impl Send for Arg

impl Sync for Arg

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]