Enum parallel_disk_usage::bytes_format::BytesFormat [−][src]
pub enum BytesFormat { PlainNumber, MetricUnits, BinaryUnits, }
Expand description
The DisplayFormat
type of Bytes
.
Variants
Display the value as-is.
Display the value with a unit suffix in metric scale.
Display the value with a unit suffix in binary scale.
Implementations
Trait Implementations
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Names of the variants of this enum
Auto Trait Implementations
impl RefUnwindSafe for BytesFormat
impl Send for BytesFormat
impl Sync for BytesFormat
impl Unpin for BytesFormat
impl UnwindSafe for BytesFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
Apply f
to self
. Read more
Apply f
to &self
. Read more
Apply f
to &mut self
. Read more
Apply f
to &self
where f
takes a single parameter of type Param
and Self
implements trait AsRef<Param>
. Read more
Apply f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait AsMut<Param>
. Read more
Apply f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Deref<Param>
. Read more
Apply f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait DerefMut<Param>
. Read more
Apply f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Deref<Param>
. Read more
Apply f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait DerefMut<Param>
. Read more