Enum esp8266_wifi_serial::NetworkEvent [−][src]
pub enum NetworkEvent<'a, const N: usize> { Connected { link_id: u16, }, Closed { link_id: u16, }, DataAvailable { link_id: u16, data: ReadData<'a, N>, }, }
Expand description
Incoming network event.
Variants
A new peer connected.
Fields of Connected
link_id: u16
Connection identifier.
The connection with the peer is closed.
Fields of Closed
link_id: u16
Connection identifier.
Bytes received from the peer.