Expand description
ByteQty, Quantity of memory used, measured in bytes.
Re-exportsยง
use derive_more::Deref;๐use derive_more::DerefMut;๐use derive_more::From;๐use derive_more::Into;๐use itertools::Itertools;๐use thiserror::Error;๐use serde::Deserialize;๐use serde::Deserialize;๐use serde::Serialize;๐use serde::Serialize;๐use std::fmt;๐use std::fmt::Display;๐use std::str::FromStr;๐use InvalidByteQty as IBQ;๐
Structsยง
- ByteQty
- Quantity of memory used, measured in bytes.
- Supported
Units ๐ - Helper to format the list of supported units into
IBQ::UnknownUnit
Enumsยง
- Byte
QtySerde ๐ - Helper for deserializing
ByteQty - Invalid
Byte Qty - 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
ByteQtyfrom a string