Function sc_sysinfo::serialize_throughput_option
source · pub fn serialize_throughput_option<S>(
maybe_throughput: &Option<Throughput>,
serializer: S
) -> Result<S::Ok, S::Error>where
S: Serializer,Expand description
Serializes Option<Throughput> and uses MiBs as the unit.