pub struct AttachOptions {
pub debug_url: Option<String>,
pub app: Option<String>,
pub app_pid: Option<i32>,
pub command_timeout: Duration,
}Expand description
What the CLI passes to [attach] so it can find Chrome.
Fields§
§debug_url: Option<String>Either ws://host:port, http(s)://host:port (resolved via /json/version).
Wins over pid discovery when present.
app: Option<String>Name, bundle id, or path. Used only to look up a pid for the
port-discovery fallback when debug_url is None.
app_pid: Option<i32>Pre-resolved pid for the browser. Wins over app when present.
command_timeout: DurationDefault CDP request timeout.
Trait Implementations§
Source§impl Clone for AttachOptions
impl Clone for AttachOptions
Source§impl Debug for AttachOptions
impl Debug for AttachOptions
Auto Trait Implementations§
impl Freeze for AttachOptions
impl RefUnwindSafe for AttachOptions
impl Send for AttachOptions
impl Sync for AttachOptions
impl Unpin for AttachOptions
impl UnsafeUnpin for AttachOptions
impl UnwindSafe for AttachOptions
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