pub fn poll(&mut self, sockets: &mut SocketSet, timestamp: u64) -> Result<bool> {
        let mut readiness_may_have_changed = false;
        loop {
            let processed_any = self.socket_ingress(sockets, timestamp)?;
            let emitted_any   = self.socket_egress(sockets, timestamp)?;
            if processed_any || emitted_any {
                readiness_may_have_changed = true;
            } else {
                break
            }
        }
        Ok(readiness_may_have_changed)
    }
/// Transmit packets queued in the given sockets, and receive packets queued
/// in the device.
///
/// The timestamp must be a number of milliseconds, monotonically increasing
/// since an arbitrary moment in time, such as system startup.
///
/// This function returns a boolean value indicating whether any packets were
/// processed or emitted, and thus, whether the readiness of any socket might
/// have changed.
///
/// # Errors
/// This method will routinely return errors in response to normal network
/// activity as well as certain boundary conditions such as buffer exhaustion.
/// These errors are provided as an aid for troubleshooting, and are meant
/// to be logged and ignored.
///
/// As a special case, `Err(Error::Unrecognized)` is returned in response to
/// packets containing any unsupported protocol, option, or form, which is
/// a very common occurrence and on a production system it should not even
/// be logged.
Transmit packets queued in the given sockets, and receive packets queued
in the device.

The timestamp must be a number of milliseconds, monotonically increasing
since an arbitrary moment in time, such as system startup.

This function returns a boolean value indicating whether any packets were
processed or emitted, and thus, whether the readiness of any socket might
have changed.
Transmit packets queued in the given sockets and receive packets queued in the device . The timestamp must be a number of milliseconds monotonically increasing since an arbitrary moment in time such as system startup . This function returns a boolean value indicating whether any packets were processed or emitted and thus whether the readiness of any socket might have changed .
pub fn poll(&mut self, sockets: &mut SocketSet, timestamp: u64) -> Result<bool> {
        let mut readiness_may_have_changed = false;
        loop {
            let processed_any = self.socket_ingress(sockets, timestamp)?;
            let emitted_any   = self.socket_egress(sockets, timestamp)?;
            if processed_any || emitted_any {
                readiness_may_have_changed = true;
            } else {
                break
            }
        }
        Ok(readiness_may_have_changed)
    }
pub fn poll ( & mut self , sockets : & mut SocketSet , timestamp : u64 ) -> Result < bool > { let mut readiness_may_have_changed = false ; loop { let processed_any = self . socket_ingress ( sockets , timestamp ) ? ; let emitted_any = self . socket_egress ( sockets , timestamp ) ? ; if processed_any || emitted_any { readiness_may_have_changed = true ; } else { break } } Ok ( readiness_may_have_changed ) }
Transmit packets queued in the given sockets, and receive packets queued
in the device.
Transmit packets queued in the given sockets and receive packets queued in the device .
&mut self
sockets
&mut SocketSet
timestamp
u64
&mut self
sockets
&mut SocketSet
timestamp
u64
errors
This method will routinely return errors in response to normal network
activity as well as certain boundary conditions such as buffer exhaustion.
These errors are provided as an aid for troubleshooting, and are meant
to be logged and ignored.

As a special case, `Err(Error::Unrecognized)` is returned in response to
packets containing any unsupported protocol, option, or form, which is
a very common occurrence and on a production system it should not even
be logged.
This method will routinely return errors in response to normal network activity as well as certain boundary conditions such as buffer exhaustion . These errors are provided as an aid for troubleshooting and are meant to be logged and ignored . As a special case ` Err ( Error :: Unrecognized ) ` is returned in response to packets containing any unsupported protocol option or form which is a very common occurrence and on a production system it should not even be logged .