Module apollo_framework::fmt [−][src]
Provides formatting helpers for durations and byte sizes.
Functions
format_bytes | Formats a given size in bytes. |
format_duration | Formats a duration into a string like “5d 3h 17m 2s 12ms”. |
format_micros | Formats a duration given in microseconds. |
format_short_duration | Formats a duration given in microseconds and returns a String representation. |
format_size | Formats a given size in bytes. |
parse_duration | Parses a duration from a given string. |
parse_size | Parses a file size from a given string. |