Enum byte_prefix::ByteFormat
source · [−]pub enum ByteFormat {
B,
KiB,
MiB,
GiB,
TiB,
PiB,
EiB,
}
Expand description
An enum representing the supported formats
Variants
B
Byte
formatted as B
KiB
KibiByte
formatted as KiB
MiB
MebiByte
formatted as MiB
GiB
GigiByte
formatted as GiB
TiB
Tebibyte
formatted as TiB
PiB
Pebibyte
formatted as PiB
EiB
Exbibyte
formatted as EiB
Trait Implementations
sourceimpl Debug for ByteFormat
impl Debug for ByteFormat
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more