pub struct RestartFrameReturn { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
Restarts particular call frame from the beginning.
Implementations§
Source§impl RestartFrameReturn
impl RestartFrameReturn
pub fn new( call_frames: Vec<CallFrame>, async_stack_trace: Option<StackTrace>, async_stack_trace_id: Option<JsonValue>, ) -> Self
Sourcepub fn call_frames(&self) -> &[CallFrame]
pub fn call_frames(&self) -> &[CallFrame]
New stack trace.
Sourcepub fn async_stack_trace(&self) -> Option<&StackTrace>
pub fn async_stack_trace(&self) -> Option<&StackTrace>
Async stack trace, if any.
Sourcepub fn async_stack_trace_id(&self) -> Option<&JsonValue>
Available on crate feature experimental only.
pub fn async_stack_trace_id(&self) -> Option<&JsonValue>
experimental only.Async stack trace, if any.
Trait Implementations§
Source§impl Clone for RestartFrameReturn
impl Clone for RestartFrameReturn
Source§fn clone(&self) -> RestartFrameReturn
fn clone(&self) -> RestartFrameReturn
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 RestartFrameReturn
impl Debug for RestartFrameReturn
Source§impl<'de> Deserialize<'de> for RestartFrameReturn
impl<'de> Deserialize<'de> for RestartFrameReturn
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 RestartFrameReturn
impl RefUnwindSafe for RestartFrameReturn
impl Send for RestartFrameReturn
impl Sync for RestartFrameReturn
impl Unpin for RestartFrameReturn
impl UnwindSafe for RestartFrameReturn
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