[−][src]Trait rust_ipv8::networking::Receiver
Any struct implementing this method can become a receiver of incoming network packets. under normal operation, only the IPV8 struct should be a receiver of these and it should distribute it through its CommunityRegistry to communities
Required methods
fn on_receive(&self, packet: Packet, address: Address)
The callback which the NetworkReceiver will call upon receiving a packet