Open
Description
With the embedded-nal-async 0.2.0 release and #70, the -async version of the traits lost feature parity with the sync/nb versions; in particular, missing points are
- binding to ports, and
- closing a connection.
For closing a connection, it may make sense to replace the current AT type Connection<'m>: embedded_io::asynch::Read<Error = Self::Error> + embedded_io::asynch::Write<Error = Self::Error> [...];
with a dedicated TcpConnection trait, which depends on Read and Write, but in addition requires implementation of a close method.