Struct chrome_remote_interface_model::target::SetAutoAttachCommand [−][src]
This is supported on crate features
Target
and experimental
only.Controls whether to automatically attach to new targets which are considered to be related to this one. When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets.
Implementations
impl SetAutoAttachCommand
[src]
pub fn new(
auto_attach: bool,
wait_for_debugger_on_start: bool,
flatten: Option<bool>
) -> Self
[src]
auto_attach: bool,
wait_for_debugger_on_start: bool,
flatten: Option<bool>
) -> Self
pub fn auto_attach(&self) -> bool
[src]
Whether to auto-attach to related targets.
pub fn wait_for_debugger_on_start(&self) -> bool
[src]
Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger
to run paused targets.
pub fn flatten(&self) -> Option<&bool>
[src]
Enables "flat" access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.
Trait Implementations
impl Clone for SetAutoAttachCommand
[src]
fn clone(&self) -> SetAutoAttachCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Command for SetAutoAttachCommand
[src]
type Return = SetAutoAttachReturn
Return type.
const METHOD: &'static str
[src]
fn into_request(self, session_id: Option<SessionId>, id: u32) -> Request<Self> where
Self: Sized,
[src]
Self: Sized,
impl Debug for SetAutoAttachCommand
[src]
impl<'de> Deserialize<'de> for SetAutoAttachCommand
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for SetAutoAttachCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for SetAutoAttachCommand
[src]
impl Send for SetAutoAttachCommand
[src]
impl Sync for SetAutoAttachCommand
[src]
impl Unpin for SetAutoAttachCommand
[src]
impl UnwindSafe for SetAutoAttachCommand
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,