parallel_disk_usage/bytes_format/
output.rs

1use super::ParsedValue;
2use derive_more::Display;
3
4/// The [`DisplayOutput`](crate::size::Size::DisplayOutput) type of [`Bytes`](crate::size::Bytes).
5#[derive(Debug, Display, Clone, Copy)]
6pub enum Output {
7    /// Display the value as-is.
8    PlainNumber(u64),
9    /// Display the value with unit a suffix.
10    Units(ParsedValue),
11}