pub struct EvaluateOnCallFrameParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> EvaluateOnCallFrameParamsBuilder<'a>
impl<'a> EvaluateOnCallFrameParamsBuilder<'a>
Sourcepub fn object_group(self, object_group: impl Into<Cow<'a, str>>) -> Self
pub fn object_group(self, object_group: impl Into<Cow<'a, str>>) -> Self
String object group name to put result into (allows rapid releasing resulting object handles using ‘releaseObjectGroup’).
Sourcepub fn include_command_line_api(self, include_command_line_api: bool) -> Self
pub fn include_command_line_api(self, include_command_line_api: bool) -> Self
Specifies whether command line API should be available to the evaluated expression, defaults to false.
Sourcepub fn silent(self, silent: bool) -> Self
pub fn silent(self, silent: bool) -> Self
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides ‘setPauseOnException’ state.
Sourcepub fn return_by_value(self, return_by_value: bool) -> Self
pub fn return_by_value(self, return_by_value: bool) -> Self
Whether the result is expected to be a JSON object that should be sent by value.
Sourcepub fn generate_preview(self, generate_preview: bool) -> Self
pub fn generate_preview(self, generate_preview: bool) -> Self
Whether preview should be generated for the result.
Sourcepub fn throw_on_side_effect(self, throw_on_side_effect: bool) -> Self
pub fn throw_on_side_effect(self, throw_on_side_effect: bool) -> Self
Whether to throw an exception if side effect cannot be ruled out during evaluation.
Sourcepub fn timeout(self, timeout: TimeDelta) -> Self
pub fn timeout(self, timeout: TimeDelta) -> Self
Terminate execution after timing out (number of milliseconds).
pub fn build(self) -> EvaluateOnCallFrameParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for EvaluateOnCallFrameParamsBuilder<'a>
impl<'a> RefUnwindSafe for EvaluateOnCallFrameParamsBuilder<'a>
impl<'a> Send for EvaluateOnCallFrameParamsBuilder<'a>
impl<'a> Sync for EvaluateOnCallFrameParamsBuilder<'a>
impl<'a> Unpin for EvaluateOnCallFrameParamsBuilder<'a>
impl<'a> UnsafeUnpin for EvaluateOnCallFrameParamsBuilder<'a>
impl<'a> UnwindSafe for EvaluateOnCallFrameParamsBuilder<'a>
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