Struct libp2p::kad::GetProvidersOk [−][src]
pub struct GetProvidersOk {
pub key: Key,
pub providers: HashSet<PeerId, RandomState>,
pub closest_peers: Vec<PeerId, Global>,
}The successful result of Kademlia::get_providers.
Fields
key: Keyproviders: HashSet<PeerId, RandomState>closest_peers: Vec<PeerId, Global>Trait Implementations
impl Clone for GetProvidersOk[src]
impl Clone for GetProvidersOk[src]