Skip to main content

try_block_on_dyn

Function try_block_on_dyn 

Source
pub fn try_block_on_dyn(
    future: Pin<&mut dyn Future<Output = ()>>,
) -> Result<(), RuntimeConfigError>
Expand description

Drive a borrowed future without consuming it when admission or shutdown fails.