pub trait PlatformNetworkPoll {
// Provided method
fn network_poll() { ... }
}Expand description
Network poll callback for bare-metal platforms using smoltcp.
Not required for platforms with OS-level networking (POSIX, Zephyr, NuttX).
Dispatch model: bare-metal smoltcp platforms route this hook to
SmoltcpBridge::poll_network() so CFFI callers, RMW shims, and direct
platform users all share one network pump.
Provided Methods§
Sourcefn network_poll()
fn network_poll()
Poll the network stack to process pending I/O.
Default no-op — platforms with OS-level networking don’t need a pump (kernel TCP/IP stack runs in the background). Bare-metal smoltcp providers override this.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".