pub enum Units {
Show 35 variants yobibit_per_second(yobibit_per_second), yottabit_per_second(yottabit_per_second), zebibit_per_second(zebibit_per_second), zettabit_per_second(zettabit_per_second), exbibit_per_second(exbibit_per_second), exabit_per_second(exabit_per_second), pebibit_per_second(pebibit_per_second), petabit_per_second(petabit_per_second), tebibit_per_second(tebibit_per_second), terabit_per_second(terabit_per_second), gibibit_per_second(gibibit_per_second), gigabit_per_second(gigabit_per_second), mebibit_per_second(mebibit_per_second), megabit_per_second(megabit_per_second), kibibit_per_second(kibibit_per_second), kilobit_per_second(kilobit_per_second), bit_per_second(bit_per_second), yobibyte_per_second(yobibyte_per_second), yottabyte_per_second(yottabyte_per_second), zebibyte_per_second(zebibyte_per_second), zettabyte_per_second(zettabyte_per_second), exbibyte_per_second(exbibyte_per_second), exabyte_per_second(exabyte_per_second), pebibyte_per_second(pebibyte_per_second), petabyte_per_second(petabyte_per_second), tebibyte_per_second(tebibyte_per_second), terabyte_per_second(terabyte_per_second), gibibyte_per_second(gibibyte_per_second), gigabyte_per_second(gigabyte_per_second), mebibyte_per_second(mebibyte_per_second), megabyte_per_second(megabyte_per_second), kibibyte_per_second(kibibyte_per_second), kilobyte_per_second(kilobyte_per_second), byte_per_second(byte_per_second), octet_per_second(octet_per_second), // some variants omitted
}
Expand description

Unit enum.

Variants

yobibit_per_second(yobibit_per_second)

Tuple Fields

yobibits per second

yottabit_per_second(yottabit_per_second)

Tuple Fields

yottabits per second

zebibit_per_second(zebibit_per_second)

Tuple Fields

zebibits per second

zettabit_per_second(zettabit_per_second)

Tuple Fields

zettabits per second

exbibit_per_second(exbibit_per_second)

Tuple Fields

exbibits per second

exabit_per_second(exabit_per_second)

Tuple Fields

exabits per second

pebibit_per_second(pebibit_per_second)

Tuple Fields

pebibits per second

petabit_per_second(petabit_per_second)

Tuple Fields

petabits per second

tebibit_per_second(tebibit_per_second)

Tuple Fields

tebibits per second

terabit_per_second(terabit_per_second)

Tuple Fields

terabits per second

gibibit_per_second(gibibit_per_second)

Tuple Fields

gibibits per second

gigabit_per_second(gigabit_per_second)

Tuple Fields

gigabits per second

mebibit_per_second(mebibit_per_second)

Tuple Fields

mebibits per second

megabit_per_second(megabit_per_second)

Tuple Fields

megabits per second

kibibit_per_second(kibibit_per_second)

Tuple Fields

kibibits per second

kilobit_per_second(kilobit_per_second)

Tuple Fields

kilobits per second

bit_per_second(bit_per_second)

Tuple Fields

bits per second

yobibyte_per_second(yobibyte_per_second)

Tuple Fields

yobibytes per second

yottabyte_per_second(yottabyte_per_second)

Tuple Fields

yottabytes per second

zebibyte_per_second(zebibyte_per_second)

Tuple Fields

zebibytes per second

zettabyte_per_second(zettabyte_per_second)

Tuple Fields

zettabytes per second

exbibyte_per_second(exbibyte_per_second)

Tuple Fields

exbibytes per second

exabyte_per_second(exabyte_per_second)

Tuple Fields

exabytes per second

pebibyte_per_second(pebibyte_per_second)

Tuple Fields

pebibytes per second

petabyte_per_second(petabyte_per_second)

Tuple Fields

petabytes per second

tebibyte_per_second(tebibyte_per_second)

Tuple Fields

tebibytes per second

terabyte_per_second(terabyte_per_second)

Tuple Fields

terabytes per second

gibibyte_per_second(gibibyte_per_second)

Tuple Fields

gibibytes per second

gigabyte_per_second(gigabyte_per_second)

Tuple Fields

gigabytes per second

mebibyte_per_second(mebibyte_per_second)

Tuple Fields

mebibytes per second

megabyte_per_second(megabyte_per_second)

Tuple Fields

megabytes per second

kibibyte_per_second(kibibyte_per_second)

Tuple Fields

kibibytes per second

kilobyte_per_second(kilobyte_per_second)

Tuple Fields

kilobytes per second

byte_per_second(byte_per_second)

Tuple Fields

bytes per second

octet_per_second(octet_per_second)

Tuple Fields

octets per second

Implementations

Unit abbreviation.

Unit singular description.

Unit plural description.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.