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.
We don’t implement Clone
on purpose, in order to prevent users from answering the same
request twice.
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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more