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