1 2 3 4 5 6 7 8 9 10 11 12
// - Format - #[derive(Debug, Clone, PartialEq, Eq, Default)] pub(crate) enum Format { /// e.g., 12Mi = (12 * 2^20) = (12 * 1024^2) #[default] BinarySI, // /// e.g., 12e6 = (12 * 10^6) // DecimalExponent, /// e.g., 12M = (12 * 10^6) = (12 * 1000^2) DecimalSI, }