pub struct EvaluateOnCallFrameBuilder { /* private fields */ }Expand description
Builder for EvaluateOnCallFrame.
Implementations§
Source§impl EvaluateOnCallFrameBuilder
impl EvaluateOnCallFrameBuilder
Sourcepub fn call_frame_id<VALUE: Into<CallFrameId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn call_frame_id<VALUE: Into<CallFrameId>>( &mut self, value: VALUE, ) -> &mut Self
Call frame identifier to evaluate on.
Sourcepub fn expression<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn expression<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Expression to evaluate.
Sourcepub fn object_group<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn object_group<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
String object group name to put result into (allows rapid releasing resulting object handles
using releaseObjectGroup).
Sourcepub fn include_command_line_api<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn include_command_line_api<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Specifies whether command line API should be available to the evaluated expression, defaults to false.
Sourcepub fn silent<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn silent<VALUE: Into<bool>>(&mut self, value: VALUE) -> &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<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn return_by_value<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether the result is expected to be a JSON object that should be sent by value.
Sourcepub fn generate_preview<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn generate_preview<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether preview should be generated for the result.
Sourcepub fn throw_on_side_effect<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn throw_on_side_effect<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Whether to throw an exception if side effect cannot be ruled out during evaluation.
Sourcepub fn timeout<VALUE: Into<TimeDelta>>(&mut self, value: VALUE) -> &mut Self
pub fn timeout<VALUE: Into<TimeDelta>>(&mut self, value: VALUE) -> &mut Self
Terminate execution after timing out (number of milliseconds).
Sourcepub fn build(
&self,
) -> Result<EvaluateOnCallFrame, EvaluateOnCallFrameBuilderError>
pub fn build( &self, ) -> Result<EvaluateOnCallFrame, EvaluateOnCallFrameBuilderError>
Trait Implementations§
Source§impl Clone for EvaluateOnCallFrameBuilder
impl Clone for EvaluateOnCallFrameBuilder
Source§fn clone(&self) -> EvaluateOnCallFrameBuilder
fn clone(&self) -> EvaluateOnCallFrameBuilder
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 EvaluateOnCallFrameBuilder
impl RefUnwindSafe for EvaluateOnCallFrameBuilder
impl Send for EvaluateOnCallFrameBuilder
impl Sync for EvaluateOnCallFrameBuilder
impl Unpin for EvaluateOnCallFrameBuilder
impl UnsafeUnpin for EvaluateOnCallFrameBuilder
impl UnwindSafe for EvaluateOnCallFrameBuilder
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