pub struct SetAutoAttachCommand { /* private fields */ }Available on crate features
Target and experimental only.Expand description
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§
Source§impl SetAutoAttachCommand
impl SetAutoAttachCommand
pub fn new( auto_attach: bool, wait_for_debugger_on_start: bool, flatten: Option<bool>, ) -> Self
Sourcepub fn auto_attach(&self) -> bool
pub fn auto_attach(&self) -> bool
Whether to auto-attach to related targets.
Sourcepub fn wait_for_debugger_on_start(&self) -> bool
pub fn wait_for_debugger_on_start(&self) -> bool
Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger
to run paused targets.
Trait Implementations§
Source§impl Clone for SetAutoAttachCommand
impl Clone for SetAutoAttachCommand
Source§fn clone(&self) -> SetAutoAttachCommand
fn clone(&self) -> SetAutoAttachCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Command for SetAutoAttachCommand
impl Command for SetAutoAttachCommand
Source§impl Debug for SetAutoAttachCommand
impl Debug for SetAutoAttachCommand
Source§impl<'de> Deserialize<'de> for SetAutoAttachCommand
impl<'de> Deserialize<'de> for SetAutoAttachCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetAutoAttachCommand
impl RefUnwindSafe for SetAutoAttachCommand
impl Send for SetAutoAttachCommand
impl Sync for SetAutoAttachCommand
impl Unpin for SetAutoAttachCommand
impl UnwindSafe for SetAutoAttachCommand
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