Function apollo_framework::fmt::format_micros[][src]

pub fn format_micros(micros: i32, f: &mut dyn Write) -> Result
Expand description

Formats a duration given in microseconds.

This function determines the ideal unit (ranging from microseconds to seconds) to provide a concise representation.

Note that a helper function format_short_duration is also provided which directly returns a String. This function also provides some examples.