use utsl_hybrid_clocks::{Clock, Result}; fn main() -> Result<()> { let mut clock_a = Clock::wall_ms()?; let mut clock_b = Clock::wall_ms()?; let b0 = clock_b.now()?; let a0 = clock_a.now()?; let () = clock_a.observe(&b0); let a1 = clock_a.now()?; println!("b0: {:?} / {}", b0, b0); println!("a0: {:?} / {}", a0, a0); println!("recv {} -> {}", b0, a1); Ok(()) }