pub type EnvironmentExecutionResult<PrepareMemoryError, Env, EntryPoint> = Result<BackendReport<<Env as Environment<EntryPoint>>::Memory, <Env as Environment<EntryPoint>>::Ext>, EnvironmentError<<Env as Environment<EntryPoint>>::SystemError, PrepareMemoryError>>;
Aliased Type§
pub enum EnvironmentExecutionResult<PrepareMemoryError, Env, EntryPoint> {
Ok(BackendReport<<Env as Environment<EntryPoint>>::Memory, <Env as Environment<EntryPoint>>::Ext>),
Err(EnvironmentError<<Env as Environment<EntryPoint>>::SystemError, PrepareMemoryError>),
}
Variants§
Ok(BackendReport<<Env as Environment<EntryPoint>>::Memory, <Env as Environment<EntryPoint>>::Ext>)
Contains the success value
Err(EnvironmentError<<Env as Environment<EntryPoint>>::SystemError, PrepareMemoryError>)
Contains the error value