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 ==
.impl Copy for KademliaRequestId
impl Eq for KademliaRequestId
impl StructuralEq for KademliaRequestId
impl StructuralPartialEq for KademliaRequestId
Auto Trait Implementations§
impl RefUnwindSafe for KademliaRequestId
impl Send for KademliaRequestId
impl Sync for KademliaRequestId
impl Unpin for KademliaRequestId
impl UnwindSafe for KademliaRequestId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more