pub struct EspEth<'d, T> { /* private fields */ }Expand description
EspEth wraps an EthDriver Data Link layer instance, and binds the OSI
Layer 3 (network) facilities of ESP IDF to it.
In other words, it connects the ESP IDF ethernet Netif interface to the ethernet driver. This allows users to utilize the Rust STD APIs for working with TCP and UDP sockets.
This struct should be the default option for an ethernet driver in all use cases
but the niche one where bypassing the ESP IDF Netif and lwIP stacks is
desirable. E.g., using smoltcp or other custom IP stacks on top of the
ESP IDF ethernet peripheral.