Type Alias EnvironmentExecutionResult

Source
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§

§1.0.0

Ok(BackendReport<<Env as Environment<EntryPoint>>::Memory, <Env as Environment<EntryPoint>>::Ext>)

Contains the success value

§1.0.0

Err(EnvironmentError<<Env as Environment<EntryPoint>>::SystemError, PrepareMemoryError>)

Contains the error value