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