Function assembly_core::time

source ·
pub fn time<F, E>(run: F) -> Result<(), E>where
    F: FnOnce() -> Result<(), E>,
Expand description

Run the function run and print the how much time the execution took.