Skip to main content

execute

Function execute 

Source
pub fn execute(
    args: &[String],
    stdin: &[u8],
    route: impl FnOnce(&str, Input) -> Result<Output, ToolError>,
) -> (Vec<u8>, u8)
Expand description

The whole call as a pure function of its arguments and stdin, so a host test drives exactly what the guest runs.