pub struct ResponderView {
pub responder: PeerId,
pub closest: Vec<DHTNode>,
}Expand description
One responder’s self-inclusive closest-K view.
Fields§
§responder: PeerIdThe peer that supplied this view.
closest: Vec<DHTNode>Nodes in the responder’s self-inclusive closest-K view.
Trait Implementations§
Source§impl Clone for ResponderView
impl Clone for ResponderView
Source§fn clone(&self) -> ResponderView
fn clone(&self) -> ResponderView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResponderView
impl RefUnwindSafe for ResponderView
impl Send for ResponderView
impl Sync for ResponderView
impl Unpin for ResponderView
impl UnsafeUnpin for ResponderView
impl UnwindSafe for ResponderView
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