Struct libp2p_kad::handler::KademliaRequestId
source · pub struct KademliaRequestId { /* private fields */ }
Expand description
Unique identifier for a request. Must be passed back in order to answer a request from the remote.
Trait Implementations§
source§impl Clone for KademliaRequestId
impl Clone for KademliaRequestId
source§fn clone(&self) -> KademliaRequestId
fn clone(&self) -> KademliaRequestId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KademliaRequestId
impl Debug for KademliaRequestId
source§impl PartialEq<KademliaRequestId> for KademliaRequestId
impl PartialEq<KademliaRequestId> for KademliaRequestId
source§fn eq(&self, other: &KademliaRequestId) -> bool
fn eq(&self, other: &KademliaRequestId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.