Skip to main content

opt_rate_from_bytes_per_sec_i64

Function opt_rate_from_bytes_per_sec_i64 

Source
pub fn opt_rate_from_bytes_per_sec_i64(raw: i64) -> Option<ByteRate>
Expand description

-1 becomes None; any other value is a bytes-per-second quota.