diff --git a/embassy-net/src/tcp.rs b/embassy-net/src/tcp.rs index 2d81e66b..35ecf1b0 100644 --- a/embassy-net/src/tcp.rs +++ b/embassy-net/src/tcp.rs @@ -259,6 +259,12 @@ impl<'d> TcpIo<'d> { } } +impl embedded_io::Error for ConnectError { + fn kind(&self) -> embedded_io::ErrorKind { + embedded_io::ErrorKind::Other + } +} + impl embedded_io::Error for Error { fn kind(&self) -> embedded_io::ErrorKind { embedded_io::ErrorKind::Other