Function solana_perf::packet::to_packet_batch_with_destination
source · [−]pub fn to_packet_batch_with_destination<T: Serialize>(
recycler: PacketBatchRecycler,
dests_and_data: &[(SocketAddr, T)]
) -> PacketBatch