Type Alias libp2p::kad::GetClosestPeersResult
source · pub type GetClosestPeersResult = Result<GetClosestPeersOk, GetClosestPeersError>;
Expand description
The result of Behaviour::get_closest_peers
.
Aliased Type§
enum GetClosestPeersResult {
Ok(GetClosestPeersOk),
Err(GetClosestPeersError),
}
Variants§
Ok(GetClosestPeersOk)
Contains the success value
Err(GetClosestPeersError)
Contains the error value