pub trait EthernetTask {
// Required method
async fn run<S, N, M>(
&mut self,
net_stack: S,
netif: N,
mdns: M,
) -> Result<(), Error>
where S: NetStack,
N: NetifDiag + NetChangeNotif,
M: Mdns;
}Expand description
A trait representing a task that needs access to the operational Ethernet interface (Network stack and Netif) 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".