pub struct FindNode {
pub target_node_id: [u8; 20],
}Expand description
Kademlia FIND_NODE query. Wire format: integer-keyed CBOR map {0: bytes}.
Fields§
§target_node_id: [u8; 20]Trait Implementations§
Source§impl<'de> Deserialize<'de> for FindNode
impl<'de> Deserialize<'de> for FindNode
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FindNode
impl StructuralPartialEq for FindNode
Auto Trait Implementations§
impl Freeze for FindNode
impl RefUnwindSafe for FindNode
impl Send for FindNode
impl Sync for FindNode
impl Unpin for FindNode
impl UnsafeUnpin for FindNode
impl UnwindSafe for FindNode
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