Enum dua::ByteFormat [−][src]
pub enum ByteFormat {
Metric,
Binary,
Bytes,
GB,
GiB,
MB,
MiB,
}Expand description
Specifies a way to format bytes
Variants
metric format, based on 1000.
binary format, based on 1024
raw bytes, without additional formatting
only gigabytes without smart-unit
only gibibytes without smart-unit
only megabytes without smart-unit
only mebibytes without smart-unit
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ByteFormatimpl Send for ByteFormatimpl Sync for ByteFormatimpl Unpin for ByteFormatimpl UnwindSafe for ByteFormatBlanket Implementations
Mutably borrows from an owned value. Read more