fn deserialize_transactions(p: &Packets) -> Vec<Option<(Transaction, SocketAddr)>> {
        p.packets
            .iter()
            .map(|x| {
                deserialize(&x.data[0..x.meta.size])
                    .map(|req| (req, x.meta.addr()))
                    .ok()
            }).collect()
    }
/// Convert the transactions from a blob of binary data to a vector of transactions and
/// an unused `SocketAddr` that could be used to send a response.
Convert the transactions from a blob of binary data to a vector of transactions and
an unused `SocketAddr` that could be used to send a response.
Convert the transactions from a blob of binary data to a vector of transactions and an unused ` SocketAddr ` that could be used to send a response .
fn deserialize_transactions(p: &Packets) -> Vec<Option<(Transaction, SocketAddr)>> {
        p.packets
            .iter()
            .map(|x| {
                deserialize(&x.data[0..x.meta.size])
                    .map(|req| (req, x.meta.addr()))
                    .ok()
            }).collect()
    }
fn deserialize_transactions ( p : & Packets ) -> Vec < Option < ( Transaction , SocketAddr ) > > { p . packets . iter ( ) . map ( | x | { deserialize ( & x . data [ 0 .. x . meta . size ] ) . map ( | req | ( req , x . meta . addr ( ) ) ) . ok ( ) } ) . collect ( ) }
Convert the transactions from a blob of binary data to a vector of transactions and
an unused `SocketAddr` that could be used to send a response.
Convert the transactions from a blob of binary data to a vector of transactions and an unused ` SocketAddr ` that could be used to send a response .
p
&Packets
p
&Packets