Skip to main content

format_bytes

Function format_bytes 

Source
pub fn format_bytes(bytes: usize) -> impl Display
Expand description

Returns a Display formatter for a byte count in human-readable form (e.g. "1.5 KiB", "3.2 MiB").