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
sourceimpl Debug for KademliaRequestId
impl Debug for KademliaRequestId
sourceimpl PartialEq<KademliaRequestId> for KademliaRequestId
impl PartialEq<KademliaRequestId> for KademliaRequestId
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &KademliaRequestId) -> bool
fn ne(&self, other: &KademliaRequestId) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more