#[repr(u64)]pub enum Suffix {
Show 13 variants
None = 1,
KiloByte = 1_000,
MegaByte = 1_000_000,
GigaByte = 1_000_000_000,
TeraByte = 1_000_000_000_000,
PetaByte = 1_000_000_000_000_000,
ExaByte = 1_000_000_000_000_000_000,
KibiByte = 1_024,
MebiByte = 1_048_576,
GibiByte = 1_073_741_824,
TebiByte = 1_099_511_627_776,
PebiByte = 1_125_899_906_842_624,
ExiByte = 1_152_921_504_606_846_976,
}Variants§
None = 1
KiloByte = 1_000
MegaByte = 1_000_000
GigaByte = 1_000_000_000
TeraByte = 1_000_000_000_000
PetaByte = 1_000_000_000_000_000
ExaByte = 1_000_000_000_000_000_000
KibiByte = 1_024
MebiByte = 1_048_576
GibiByte = 1_073_741_824
TebiByte = 1_099_511_627_776
PebiByte = 1_125_899_906_842_624
ExiByte = 1_152_921_504_606_846_976
Implementations§
Trait Implementations§
impl Copy for Suffix
impl Eq for Suffix
impl StructuralPartialEq for Suffix
Auto Trait Implementations§
impl Freeze for Suffix
impl RefUnwindSafe for Suffix
impl Send for Suffix
impl Sync for Suffix
impl Unpin for Suffix
impl UnwindSafe for Suffix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more