1/// Choose how to find an appropriate unit based on a base of 2 or 10.
2#[derive(Debug, Copy, Clone, PartialEq, Eq)]
3pub enum UnitType {
4/// KiB, MiB, ..., etc.
5Binary,
6/// KB, MB, ..., etc.
7Decimal,
8/// Use both binary and decimal, choose the closest one.
9Both,
10}