pub struct GetPeersResponder { /* private fields */ }
Expand description
Represents the response of a node to a get_peers request, including its Id, IP address, and the token it replied with. This is helpful in case we want to follow up with an announce_peer request.
Implementations§
Auto Trait Implementations§
impl Freeze for GetPeersResponder
impl RefUnwindSafe for GetPeersResponder
impl Send for GetPeersResponder
impl Sync for GetPeersResponder
impl Unpin for GetPeersResponder
impl UnwindSafe for GetPeersResponder
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