pub struct EvaluateOnCallFrameCommandBuilder { /* private fields */ }Available on crate features
Debugger and Runtime only.Implementations§
Source§impl EvaluateOnCallFrameCommandBuilder
impl EvaluateOnCallFrameCommandBuilder
Sourcepub fn call_frame_id(&mut self, v: CallFrameId) -> &mut Self
pub fn call_frame_id(&mut self, v: CallFrameId) -> &mut Self
Call frame identifier to evaluate on.
Sourcepub fn expression(&mut self, v: String) -> &mut Self
pub fn expression(&mut self, v: String) -> &mut Self
Expression to evaluate.
Sourcepub fn object_group(&mut self, v: String) -> &mut Self
pub fn object_group(&mut self, v: String) -> &mut Self
String object group name to put result into (allows rapid releasing resulting object handles
using releaseObjectGroup).
Sourcepub fn include_command_line_api(&mut self, v: bool) -> &mut Self
pub fn include_command_line_api(&mut self, v: bool) -> &mut Self
Specifies whether command line API should be available to the evaluated expression, defaults to false.
Sourcepub fn silent(&mut self, v: bool) -> &mut Self
pub fn silent(&mut self, v: bool) -> &mut Self
In silent mode exceptions thrown during evaluation are not reported and do not pause
execution. Overrides setPauseOnException state.
Sourcepub fn return_by_value(&mut self, v: bool) -> &mut Self
pub fn return_by_value(&mut self, v: bool) -> &mut Self
Whether the result is expected to be a JSON object that should be sent by value.
Sourcepub fn generate_preview(&mut self, v: bool) -> &mut Self
Available on crate feature experimental only.
pub fn generate_preview(&mut self, v: bool) -> &mut Self
experimental only.Whether preview should be generated for the result.
Sourcepub fn throw_on_side_effect(&mut self, v: bool) -> &mut Self
pub fn throw_on_side_effect(&mut self, v: bool) -> &mut Self
Whether to throw an exception if side effect cannot be ruled out during evaluation.
Sourcepub fn timeout(&mut self, v: TimeDelta) -> &mut Self
Available on crate feature experimental only.
pub fn timeout(&mut self, v: TimeDelta) -> &mut Self
experimental only.Terminate execution after timing out (number of milliseconds).
pub fn build(&mut self) -> Result<EvaluateOnCallFrameCommand, &'static str>
Trait Implementations§
Source§impl Clone for EvaluateOnCallFrameCommandBuilder
impl Clone for EvaluateOnCallFrameCommandBuilder
Source§fn clone(&self) -> EvaluateOnCallFrameCommandBuilder
fn clone(&self) -> EvaluateOnCallFrameCommandBuilder
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 moreAuto Trait Implementations§
impl Freeze for EvaluateOnCallFrameCommandBuilder
impl RefUnwindSafe for EvaluateOnCallFrameCommandBuilder
impl Send for EvaluateOnCallFrameCommandBuilder
impl Sync for EvaluateOnCallFrameCommandBuilder
impl Unpin for EvaluateOnCallFrameCommandBuilder
impl UnwindSafe for EvaluateOnCallFrameCommandBuilder
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