Skip to main content

execute

Function execute 

Source
pub fn execute(
    state: &mut State,
    transport: &mut dyn Transport,
    call: &Call,
) -> Result<()>
Expand description

Run one call for the process that owns state, blocking the thread while another holder has the graphics lock. A caller on a cooperative executor takes the lock itself and uses execute_locked.

The result address is validated before anything runs, so a call never has effects it cannot report.