Function holochain::prelude::dependencies::kitsune_p2p_types::tx2::tx2_utils::parse_latency_info
source · pub fn parse_latency_info(buf: &[u8]) -> Result<Duration, ()>
Expand description
Return the duration since the time encoded in a latency info buffer. Returns a unit error if we could not parse the buffer into time data.