pub enum BrowserKind {
Chrome,
Chromium,
Edge,
Custom,
}Expand description
Categorisation of a discovered browser. Drives kind-specific
quirks at launch time (e.g. Edge in some builds requires
--remote-allow-origins=* for CDP). The taxonomy is pruned
to the kinds we actually launch via CDP — derivative browsers
(Brave, Vivaldi, Opera) are intentionally excluded from
auto-detect; operators run them via the explicit
NEXO_PLUGIN_BROWSER_EXECUTABLE override.
Variants§
Chrome
Chromium
Edge
msedge — Chromium-based, CDP-compatible. Common on
Windows enterprise installs where Chrome may be absent.
Custom
Operator-supplied path via
NEXO_PLUGIN_BROWSER_EXECUTABLE. We cannot infer kind
from a custom path without sniffing the binary, so we
keep it opaque.
Trait Implementations§
Source§impl Clone for BrowserKind
impl Clone for BrowserKind
Source§impl Debug for BrowserKind
impl Debug for BrowserKind
impl Eq for BrowserKind
Source§impl PartialEq for BrowserKind
impl PartialEq for BrowserKind
impl StructuralPartialEq for BrowserKind
Auto Trait Implementations§
impl Forget for BrowserKind
impl Freeze for BrowserKind
impl Move for BrowserKind
impl RefUnwindSafe for BrowserKind
impl Send for BrowserKind
impl Sync for BrowserKind
impl Unpin for BrowserKind
impl UnsafeUnpin for BrowserKind
impl UnwindSafe for BrowserKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more