Enum linux_info::unit::DataSizeUnit
source · pub enum DataSizeUnit {
B,
Kb,
Mb,
Gb,
Tb,
}Variants§
Trait Implementations§
source§impl Clone for DataSizeUnit
impl Clone for DataSizeUnit
source§fn clone(&self) -> DataSizeUnit
fn clone(&self) -> DataSizeUnit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DataSizeUnit
impl Debug for DataSizeUnit
source§impl PartialEq<DataSizeUnit> for DataSizeUnit
impl PartialEq<DataSizeUnit> for DataSizeUnit
source§fn eq(&self, other: &DataSizeUnit) -> bool
fn eq(&self, other: &DataSizeUnit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.