You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: common.rs
    path of file: ./repos/holochain/crates/kitsune_p2p/kitsune_p2p/src/gossip/sharded_gossip/tests
    
    the code of the file until where you have to start completion: use super::*;
use crate::test_util::hash_op_data;
pub use crate::test_util::spawn_handler;
use crate::{HostApi, KitsuneHost};
use ::fixt::prelude::*;
use kitsune_p2p_bin_data::fixt::*;
use kitsune_p2p_fetch::FetchPoolConfig;
use kitsune_p2p_types::box_fut;
use kitsune_p2p_types::dht::prelude::{ArqSet, RegionCoordSetLtcs, RegionData};
use kitsune_p2p_types::dht::spacetime::{TelescopingTimes, Topology};
use kitsune_p2p_types::dht::ArqStrat;
use kitsune_p2p_types::dht_arc::MAX_HALF_LENGTH;
use num_traits::Zero;

#[derive(Debug)]
pub struct StandardResponsesHostApi {
    infos: Vec<AgentInfoSigned>,
    topology: Topology,
    strat: ArqStrat,
    with_data: bool,
}

impl Fetc
    
pub async fn agent_info(agent: Arc<KitsuneAgent>) -> AgentInfoSigned {
    let rand_string: String = thread_rng()
        .sample_iter(&rand::distributions::Alphanumeric)
        .take(10)
        .map(char::from)
        .collect();
    AgentInfoSigned::sign(
        Arc::new(fixt!(KitsuneSpace)),
        agent,
        MAX_HALF_LENGTH,
        vec![url2::url2!(
            "kitsune-proxy://CIW6PxKxs{}cKwUpaMSmB7kLD8xyyj4mqcw/kitsune-quic/h/localhost/p/5778/-",
            rand_string
        )
        .into()],
        std::time::UNIX_EPOCH.elapsed().unwrap().as_millis() as u64,
        (std::time::UNIX_EPOCH.elapsed().unwrap() + std::time::Duration::from_secs(60 * 60))
            .as_millis() as u64,
        |_| async move { Ok(Arc::new(fixt!(KitsuneSignature, Predictable))) },
    )
    .await
    .unwrap()
}