pub struct expectRevert_3Return {}Expand description
Expects an error with any revert data on next call to reverter address.
The reverter argument is matched against the address associated with
the frame that produced the revert:
- For a CALL: the address that was called.
- For a CREATE / CREATE2: the would-be deployed address of the failed deployment (computed from the deployer + nonce, or salt + initcode).
For a single expected revert, the innermost reverting frame wins in
nested CALL, CREATE, or mixed chains. With count > 1, nested
CREATE / CREATE2 chains apply the same rule independently to each
iteration; nested CALL chains keep their existing
outermost-call-per-iteration behavior.
Container type for the return parameters of the expectRevert(address) function.
Implementations§
Source§impl expectRevert_3Return
impl expectRevert_3Return
fn _tokenize(&self) -> <expectRevert_3Call as SolCall>::ReturnToken<'_>
Trait Implementations§
Source§impl Clone for expectRevert_3Return
impl Clone for expectRevert_3Return
Source§fn clone(&self) -> expectRevert_3Return
fn clone(&self) -> expectRevert_3Return
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for expectRevert_3Return
impl RefUnwindSafe for expectRevert_3Return
impl Send for expectRevert_3Return
impl Sync for expectRevert_3Return
impl Unpin for expectRevert_3Return
impl UnsafeUnpin for expectRevert_3Return
impl UnwindSafe for expectRevert_3Return
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes