//! Clock abstraction used by Zakura transport rate-limit logic.
usetokio::time::Instant;/// Clock used by Zakura rate-limit logic.
pubtraitClock: Clone + Send + Sync + 'static {/// Return the current monotonic instant.
fnnow(&self)-> Instant;}/// Production clock backed by [`Instant::now`].
#[derive(Copy, Clone, Debug, Default)]pubstructRealClock;implClock forRealClock{fnnow(&self)-> Instant{Instant::now()}}