pub async fn new<'a, I, OUT>(
state: &'a mut State,
iface: I,
reset: OUT,
) -> (NetDriver<'a>, Control<'a>, Runner<'a, I, OUT>)Expand description
Create a new esp-hosted driver using the provided state, interface, and reset pin.
Returns a device handle for interfacing with embassy-net, a control handle for interacting with the driver, and a runner for communicating with the WiFi device.