Skip to main content

deserialize_bytesize_u64

Function deserialize_bytesize_u64 

Source
pub fn deserialize_bytesize_u64<'de, D>(de: D) -> Result<u64, D::Error>
where D: Deserializer<'de>,
Expand description

Accepts an integer byte count or a string with SI/IEC suffix (e.g. “32 MiB”) and returns a u64.