pub struct AttachedToTargetEvent { /* private fields */ }Available on crate features
Target and experimental only.Expand description
Issued when attached to target because of auto-attach or attachToTarget command.
Implementations§
Source§impl AttachedToTargetEvent
impl AttachedToTargetEvent
pub fn new( session_id: SessionId, target_info: TargetInfo, waiting_for_debugger: bool, ) -> Self
Sourcepub fn session_id(&self) -> &SessionId
pub fn session_id(&self) -> &SessionId
Identifier assigned to the session used to send/receive messages.
pub fn target_info(&self) -> &TargetInfo
pub fn waiting_for_debugger(&self) -> bool
Trait Implementations§
Source§impl Clone for AttachedToTargetEvent
impl Clone for AttachedToTargetEvent
Source§fn clone(&self) -> AttachedToTargetEvent
fn clone(&self) -> AttachedToTargetEvent
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 Debug for AttachedToTargetEvent
impl Debug for AttachedToTargetEvent
Source§impl<'de> Deserialize<'de> for AttachedToTargetEvent
impl<'de> Deserialize<'de> for AttachedToTargetEvent
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 AttachedToTargetEvent
impl RefUnwindSafe for AttachedToTargetEvent
impl Send for AttachedToTargetEvent
impl Sync for AttachedToTargetEvent
impl Unpin for AttachedToTargetEvent
impl UnwindSafe for AttachedToTargetEvent
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