usesuper::{record::Timestamp,rt::{MaybeSend, MaybeSync},};/// The wall clock the driver counts its deadlines on: `funding_timeout`,
/// `refund_timeout`, a quote's expiry and the fee estimate's cache. Block
/// deadlines are counted on the chain.
pubtraitClock: MaybeSend + MaybeSync {/// Seconds since the Unix epoch.
fnnow(&self)-> Timestamp;}/// The system's clock, the browser's on wasm32.
#[derive(Clone, Copy, Debug, Default)]pubstructSystemClock;implClock forSystemClock{#[allow(clippy::disallowed_methods)]fnnow(&self)-> Timestamp{anyswap_core::utils::now()}}