pub struct polkadot_0Return {}Expand description
Enables or disables Polkadot execution mode with explicit backend selection.
When enabled, contracts execute on pallet-revive runtime instead of standard EVM.
@param enable true = switch to Polkadot environment, false = switch back to Foundry EVM
@param backend Target backend: “evm” or “pvm”
Example: vm.polkadot(true, “evm”); // Enable Polkadot EVM backend
Example: vm.polkadot(true, “pvm”); // Enable Polkadot PVM backend
Container type for the return parameters of the polkadot(bool,string) function.
Implementations§
Source§impl polkadot_0Return
impl polkadot_0Return
fn _tokenize(&self) -> <polkadot_0Call as SolCall>::ReturnToken<'_>
Trait Implementations§
Source§impl Clone for polkadot_0Return
impl Clone for polkadot_0Return
Source§fn clone(&self) -> polkadot_0Return
fn clone(&self) -> polkadot_0Return
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for polkadot_0Return
impl RefUnwindSafe for polkadot_0Return
impl Send for polkadot_0Return
impl Sync for polkadot_0Return
impl Unpin for polkadot_0Return
impl UnwindSafe for polkadot_0Return
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