Function assembly_core::time[][src]

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.