We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b2dc8d commit 063ffd2Copy full SHA for 063ffd2
embedded-nal-async/src/stack/tcp.rs
@@ -175,10 +175,11 @@ impl<T: TcpClientStack> TcpClientStack for &mut T {
175
/// this trait allows creating multiple connections using the same TCP/IP stack.
176
pub trait TcpConnect {
177
/// Error type returned on connect failure.
178
- type Error;
+ type Error: core::fmt::Debug;
179
180
/// Type holding state of a TCP connection.
181
- type Connection<'m>: embedded_io::asynch::Read + embedded_io::asynch::Write
+ type Connection<'m>: embedded_io::asynch::Read<Error = Self::Error>
182
+ + embedded_io::asynch::Write<Error = Self::Error>
183
where
184
Self: 'm;
185
/// Future returned by `connect` function.
0 commit comments