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.
pub fn serialize_throughput_option<S>(
maybe_throughput: &Option<Throughput>,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,Serializes Option<Throughput> and uses MiBs as the unit.