pub struct RestartFrameReturns {}
Expand description
Restarts particular call frame from the beginning. The old, deprecated
behavior of restartFrame
is to stay paused and allow further CDP commands
after a restart was scheduled. This can cause problems with restarting, so
we now continue execution immediatly after it has been scheduled until we
reach the beginning of the restarted frame.
To stay back-wards compatible, restartFrame
now expects a mode
parameter to be present. If the mode
parameter is missing, restartFrame
errors out.
The various return values are deprecated and callFrames
is always empty.
Use the call frames from the Debugger#paused
events instead, that fires
once V8 pauses at the beginning of the restarted function.
restartFrame
Trait Implementations§
Source§impl Clone for RestartFrameReturns
impl Clone for RestartFrameReturns
Source§fn clone(&self) -> RestartFrameReturns
fn clone(&self) -> RestartFrameReturns
Returns a copy 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 RestartFrameReturns
impl Debug for RestartFrameReturns
Source§impl Default for RestartFrameReturns
impl Default for RestartFrameReturns
Source§fn default() -> RestartFrameReturns
fn default() -> RestartFrameReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestartFrameReturns
impl<'de> Deserialize<'de> for RestartFrameReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RestartFrameReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RestartFrameReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RestartFrameReturns
impl PartialEq for RestartFrameReturns
Source§impl Serialize for RestartFrameReturns
impl Serialize for RestartFrameReturns
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RestartFrameReturns
Auto Trait Implementations§
impl Freeze for RestartFrameReturns
impl RefUnwindSafe for RestartFrameReturns
impl Send for RestartFrameReturns
impl Sync for RestartFrameReturns
impl Unpin for RestartFrameReturns
impl UnwindSafe for RestartFrameReturns
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more