pub struct FindPeerMsg(pub PeerID);
Expand description
FindPeer message used to find a specific peer.
Tuple Fields§
§0: PeerID
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for FindPeerMsg
impl<'__de> BorrowDecode<'__de> for FindPeerMsg
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Debug for FindPeerMsg
impl Debug for FindPeerMsg
Source§impl Decode for FindPeerMsg
impl Decode for FindPeerMsg
Auto Trait Implementations§
impl Freeze for FindPeerMsg
impl RefUnwindSafe for FindPeerMsg
impl Send for FindPeerMsg
impl Sync for FindPeerMsg
impl Unpin for FindPeerMsg
impl UnwindSafe for FindPeerMsg
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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