pub(crate) fn outbound_packet_pump(
        &self,
    ) -> impl TryStream<Ok = (), Error = Error> + Send + '_ {
        futures::stream::try_unfold((), move |()| {
            self.net_if
                .outbound_packet_from_stack()
                .map(|x: Result<Vec<u8>, Error>| x.map(|x| Some((x, ()))))
        })
        .and_then(move |packet| self.on_netstack_packet_for_thread(packet))
    }
/// Packet pump stream that pulls packets from the network interface,
/// processes them, and then sends them to OpenThread.
Packet pump stream that pulls packets from the network interface,
processes them, and then sends them to OpenThread.
Packet pump stream that pulls packets from the network interface processes them and then sends them to OpenThread .
pub(crate) fn outbound_packet_pump(
        &self,
    ) -> impl TryStream<Ok = (), Error = Error> + Send + '_ {
        futures::stream::try_unfold((), move |()| {
            self.net_if
                .outbound_packet_from_stack()
                .map(|x: Result<Vec<u8>, Error>| x.map(|x| Some((x, ()))))
        })
        .and_then(move |packet| self.on_netstack_packet_for_thread(packet))
    }
pub ( crate ) fn outbound_packet_pump ( & self , ) -> impl TryStream < Ok = ( ) , Error = Error > + Send + ' _ { futures :: stream :: try_unfold ( ( ) , move | ( ) | { self . net_if . outbound_packet_from_stack ( ) . map ( | x : Result < Vec < u8 > , Error > | x . map ( | x | Some ( ( x , ( ) ) ) ) ) } ) . and_then ( move | packet | self . on_netstack_packet_for_thread ( packet ) ) }
Packet pump stream that pulls packets from the network interface,
processes them, and then sends them to OpenThread.
Packet pump stream that pulls packets from the network interface processes them and then sends them to OpenThread .
&self
&self