pub struct ContractDebugExecutor { /* private fields */ }Implementations§
Source§impl ContractDebugExecutor
impl ContractDebugExecutor
pub fn new( runtime_ref: RuntimeWeakRef, contract_map_ref: ContractMapRef, ) -> Self
pub fn new_contract_container_instance( &self, contract_container: ContractContainerRef, ) -> Box<dyn Instance>
Trait Implementations§
Source§impl Debug for ContractDebugExecutor
impl Debug for ContractDebugExecutor
Source§impl Executor for ContractDebugExecutor
impl Executor for ContractDebugExecutor
Source§fn new_instance(
&self,
wasm_bytes: &[u8],
_compilation_options: &CompilationOptions,
) -> Result<Box<dyn Instance>, ExecutorError>
fn new_instance( &self, wasm_bytes: &[u8], _compilation_options: &CompilationOptions, ) -> Result<Box<dyn Instance>, ExecutorError>
Creates a new VM executor instance.
Source§fn new_instance_from_cache(
&self,
_cache_bytes: &[u8],
_compilation_options: &CompilationOptions,
) -> Result<Box<dyn Instance>, ExecutorError>
fn new_instance_from_cache( &self, _cache_bytes: &[u8], _compilation_options: &CompilationOptions, ) -> Result<Box<dyn Instance>, ExecutorError>
Creates a new VM executor instance from cache.
Auto Trait Implementations§
impl Freeze for ContractDebugExecutor
impl !RefUnwindSafe for ContractDebugExecutor
impl Send for ContractDebugExecutor
impl Sync for ContractDebugExecutor
impl Unpin for ContractDebugExecutor
impl UnsafeUnpin for ContractDebugExecutor
impl !UnwindSafe for ContractDebugExecutor
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
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more