enum ByteSizeUnits [src]
Fields
decimalThis formatter represents the number as multiple of 1000 and uses the SI
measurement units (kB, MB, GB, ...).
binaryThis formatter represents the number as multiple of 1024 and uses the IEC
measurement units (KiB, MiB, GiB, ...).
Source
pub const ByteSizeUnits = enum {
/// This formatter represents the number as multiple of 1000 and uses the SI
/// measurement units (kB, MB, GB, ...).
decimal,
/// This formatter represents the number as multiple of 1024 and uses the IEC
/// measurement units (KiB, MiB, GiB, ...).
binary,
}