pub struct SetBlackboxedRangesParams<'a> { /* private fields */ }Expand description
Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing ‘step in’ several times, finally resorting to ‘step out’ if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn’t blackboxed. Array should be sorted.
Implementations§
Source§impl<'a> SetBlackboxedRangesParams<'a>
impl<'a> SetBlackboxedRangesParams<'a>
Sourcepub fn builder(
script_id: ScriptId<'a>,
positions: Vec<ScriptPosition>,
) -> SetBlackboxedRangesParamsBuilder<'a>
pub fn builder( script_id: ScriptId<'a>, positions: Vec<ScriptPosition>, ) -> SetBlackboxedRangesParamsBuilder<'a>
Creates a builder for this type with the required parameters:
script_id: Id of the script.positions:
pub fn positions(&self) -> &[ScriptPosition]
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetBlackboxedRangesParams<'a>
impl<'a> CdpCommand<'a> for SetBlackboxedRangesParams<'a>
Source§impl<'a> Clone for SetBlackboxedRangesParams<'a>
impl<'a> Clone for SetBlackboxedRangesParams<'a>
Source§fn clone(&self) -> SetBlackboxedRangesParams<'a>
fn clone(&self) -> SetBlackboxedRangesParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SetBlackboxedRangesParams<'a>
impl<'a> Debug for SetBlackboxedRangesParams<'a>
Source§impl<'a> Default for SetBlackboxedRangesParams<'a>
impl<'a> Default for SetBlackboxedRangesParams<'a>
Source§fn default() -> SetBlackboxedRangesParams<'a>
fn default() -> SetBlackboxedRangesParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetBlackboxedRangesParams<'a>
impl<'de, 'a> Deserialize<'de> for SetBlackboxedRangesParams<'a>
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<'a> Freeze for SetBlackboxedRangesParams<'a>
impl<'a> RefUnwindSafe for SetBlackboxedRangesParams<'a>
impl<'a> Send for SetBlackboxedRangesParams<'a>
impl<'a> Sync for SetBlackboxedRangesParams<'a>
impl<'a> Unpin for SetBlackboxedRangesParams<'a>
impl<'a> UnsafeUnpin for SetBlackboxedRangesParams<'a>
impl<'a> UnwindSafe for SetBlackboxedRangesParams<'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