Struct libp2p::kad::GetProvidersOk [−][src]
pub struct GetProvidersOk {
pub key: Key,
pub providers: HashSet<PeerId, RandomState>,
pub closest_peers: Vec<PeerId, Global>,
}Expand description
The successful result of Kademlia::get_providers.
Fields
key: Keyproviders: HashSet<PeerId, RandomState>closest_peers: Vec<PeerId, Global>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GetProvidersOkimpl Send for GetProvidersOkimpl Sync for GetProvidersOkimpl Unpin for GetProvidersOkimpl UnwindSafe for GetProvidersOkBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V