Skip to main content

try_runtime_component_with_shutdown

Function try_runtime_component_with_shutdown 

Source
pub fn try_runtime_component_with_shutdown<C, F, E>(
    build: F,
) -> TryRuntimeComponentWithShutdown<C, F, E>
where F: FnOnce(CancellationToken) -> Result<C, E>,
Expand description

Fallible variant of runtime_component_with_shutdown.