Trait holochain::prelude::dependencies::kitsune_p2p_types::dht::prelude::AccessPeerStore
pub trait AccessPeerStore {
fn get_agent_arq(&self, agent: &AgentKey) -> Arq<DhtLocation>;
fn get_arq_set(&self) -> ArqSetImpl<SpaceOffset>;
}
Expand description
All methods involved in accessing the peer store, to be implemented by the host.
Required Methods§
fn get_agent_arq(&self, agent: &AgentKey) -> Arq<DhtLocation>
fn get_agent_arq(&self, agent: &AgentKey) -> Arq<DhtLocation>
Get the arq for an agent
fn get_arq_set(&self) -> ArqSetImpl<SpaceOffset>
fn get_arq_set(&self) -> ArqSetImpl<SpaceOffset>
Get the set of all arqs for this node