aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-net/src/tcp.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/embassy-net/src/tcp.rs b/embassy-net/src/tcp.rs
index 2d81e66bd..35ecf1b0c 100644
--- a/embassy-net/src/tcp.rs
+++ b/embassy-net/src/tcp.rs
@@ -259,6 +259,12 @@ impl<'d> TcpIo<'d> {
259 } 259 }
260} 260}
261 261
262impl embedded_io::Error for ConnectError {
263 fn kind(&self) -> embedded_io::ErrorKind {
264 embedded_io::ErrorKind::Other
265 }
266}
267
262impl embedded_io::Error for Error { 268impl embedded_io::Error for Error {
263 fn kind(&self) -> embedded_io::ErrorKind { 269 fn kind(&self) -> embedded_io::ErrorKind {
264 embedded_io::ErrorKind::Other 270 embedded_io::ErrorKind::Other