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 ByteFormat
impl Send for ByteFormat
impl Sync for ByteFormat
impl Unpin for ByteFormat
impl UnwindSafe for ByteFormat
Blanket Implementations
Mutably borrows from an owned value. Read more