pub struct SetReturnValueCommand { /* private fields */ }Available on crate features
Debugger and Runtime and experimental only.Expand description
Changes return value in top frame. Available only at return break position.
Implementations§
Source§impl SetReturnValueCommand
impl SetReturnValueCommand
pub fn new(new_value: CallArgument) -> Self
Sourcepub fn new_value(&self) -> &CallArgument
pub fn new_value(&self) -> &CallArgument
New return value.
Methods from Deref<Target = CallArgument>§
Sourcepub fn unserializable_value(&self) -> Option<&UnserializableValue>
pub fn unserializable_value(&self) -> Option<&UnserializableValue>
Primitive value which can not be JSON-stringified.
Sourcepub fn object_id(&self) -> Option<&RemoteObjectId>
pub fn object_id(&self) -> Option<&RemoteObjectId>
Remote object handle.
Trait Implementations§
Source§impl Clone for SetReturnValueCommand
impl Clone for SetReturnValueCommand
Source§fn clone(&self) -> SetReturnValueCommand
fn clone(&self) -> SetReturnValueCommand
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 SetReturnValueCommand
impl Command for SetReturnValueCommand
Source§impl Debug for SetReturnValueCommand
impl Debug for SetReturnValueCommand
Source§impl Deref for SetReturnValueCommand
impl Deref for SetReturnValueCommand
Source§impl<'de> Deserialize<'de> for SetReturnValueCommand
impl<'de> Deserialize<'de> for SetReturnValueCommand
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 SetReturnValueCommand
impl RefUnwindSafe for SetReturnValueCommand
impl Send for SetReturnValueCommand
impl Sync for SetReturnValueCommand
impl Unpin for SetReturnValueCommand
impl UnwindSafe for SetReturnValueCommand
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