Skip to main content

start_runtime

Function start_runtime 

Source
pub fn start_runtime<S, M>(
    program: Program<S, M>,
    env: Environment,
    config: RuntimeConfig,
) -> Runtime<S, M>
where S: Send + Sync + 'static, M: Send + 'static,
Expand description

Start a Runtime in tests/examples; panics only if bootstrap fails.