Module byte_qty

Source
Expand description

ByteQty, Quantity of memory used, measured in bytes.

Structs§

ByteQty
Quantity of memory used, measured in bytes.
SupportedUnits 🔒
Helper to format the list of supported units into IBQ::UnknownUnit

Enums§

ByteQtySerde 🔒 serde
Helper for deserializing ByteQty
InvalidByteQty
Error parsing (or deserialising) a ByteQty

Constants§

ALL_UNITS 🔒
Units that are used when parsing and when printing
DISPLAY_UNITS 🔒
Units that can be suffixed to a number, when displaying ByteQty (macro)
PARSE_UNITS 🔒
Units that are (only) recognised parsing a ByteQty from a string