pub struct StackTraceId<'a> { /* private fields */ }Expand description
If ‘debuggerId’ is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See ‘Runtime.StackTrace’ and ‘Debugger.paused’ for usages.
Implementations§
Source§impl<'a> StackTraceId<'a>
impl<'a> StackTraceId<'a>
Sourcepub fn builder(id: impl Into<Cow<'a, str>>) -> StackTraceIdBuilder<'a>
pub fn builder(id: impl Into<Cow<'a, str>>) -> StackTraceIdBuilder<'a>
Creates a builder for this type with the required parameters:
id:
pub fn id(&self) -> &str
pub fn debugger_id(&self) -> Option<&UniqueDebuggerId<'a>>
Trait Implementations§
Source§impl<'a> Clone for StackTraceId<'a>
impl<'a> Clone for StackTraceId<'a>
Source§fn clone(&self) -> StackTraceId<'a>
fn clone(&self) -> StackTraceId<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for StackTraceId<'a>
impl<'a> Debug for StackTraceId<'a>
Source§impl<'a> Default for StackTraceId<'a>
impl<'a> Default for StackTraceId<'a>
Source§fn default() -> StackTraceId<'a>
fn default() -> StackTraceId<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for StackTraceId<'a>
impl<'de, 'a> Deserialize<'de> for StackTraceId<'a>
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<'a> Freeze for StackTraceId<'a>
impl<'a> RefUnwindSafe for StackTraceId<'a>
impl<'a> Send for StackTraceId<'a>
impl<'a> Sync for StackTraceId<'a>
impl<'a> Unpin for StackTraceId<'a>
impl<'a> UnsafeUnpin for StackTraceId<'a>
impl<'a> UnwindSafe for StackTraceId<'a>
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