pub trait WifiTask {
// Required method
async fn run<S, N, C, M>(
&mut self,
net_stack: S,
netif: N,
net_ctl: C,
mdns: M,
) -> Result<(), Error>
where S: NetStack,
N: NetifDiag + NetChangeNotif,
C: NetCtl + WifiDiag + NetChangeNotif,
M: Mdns;
}Expand description
A trait representing a task that needs access to the operational wireless interface (Wifi or Thread) (Netif, UDP stack and Wireless controller) to perform its work.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".