pub trait KitsuneHost: 'static + Send + Sync {
    fn get_agent_info_signed(
        &self,
        input: GetAgentInfoSignedEvt
    ) -> KitsuneHostResult<'_, Option<AgentInfoSigned>>; fn peer_extrapolated_coverage(
        &self,
        space: Arc<KitsuneSpace>,
        dht_arc_set: DhtArcSet
    ) -> KitsuneHostResult<'_, Vec<f64>>; fn record_metrics(
        &self,
        space: Arc<KitsuneSpace>,
        records: Vec<MetricRecord>
    ) -> KitsuneHostResult<'_, ()>; }
Expand description

The interface to be implemented by the host, which handles various requests for data

Required Methods

We need to get previously stored agent info.

Extrapolated Peer Coverage

Record a set of metric records

Implementors