[][src]Function cjdns_snode::utils::timestamp::time_diff

pub fn time_diff(t1: SystemTime, t2: SystemTime) -> Duration

Compute duration between two timestamps. It does not matter which of these timestamps is earlier.