1
2
3
4
5
6
7
8
9
10
11
use super::ParsedValue;
use derive_more::Display;

/// The [`DisplayOutput`](crate::size::Size::DisplayOutput) type of [`Bytes`](crate::size::Bytes).
#[derive(Debug, Display, Clone, Copy)]
pub enum Output {
    /// Display the value as-is.
    PlainNumber(u64),
    /// Display the value with unit a suffix.
    Units(ParsedValue),
}