pub fn ensure_nodes_are_in_sync<A: SyncNode + ?Sized>(
    sync_wait: SyncWaitParams,
    nodes: &[&A]
) -> Result<(), Error>