Add embedded-io implementation of ConnectError

This commit is contained in:
Ulf Lilleengen 2022-06-01 13:48:28 +02:00
parent 39cffdd123
commit 8b676e65ad

View File

@ -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