@@ -28,7 +28,7 @@ use crate::SocketAddr;
28
28
/// address at connect time.
29
29
pub trait ConnectedUdp {
30
30
/// Error type returned by send and receive operations.
31
- type Error : embedded_io :: Error ;
31
+ type Error : embedded_io_async :: Error ;
32
32
33
33
/// Send the provided data to the connected peer
34
34
async fn send ( & mut self , data : & [ u8 ] ) -> Result < ( ) , Self :: Error > ;
@@ -67,7 +67,7 @@ pub trait ConnectedUdp {
67
67
/// applicable. The implementer MAY check them for compatibility, and SHOULD do that in debug mode.
68
68
pub trait UnconnectedUdp {
69
69
/// Error type returned by send and receive operations.
70
- type Error : embedded_io :: Error ;
70
+ type Error : embedded_io_async :: Error ;
71
71
72
72
/// Send the provided data to a peer
73
73
///
@@ -114,13 +114,13 @@ pub trait UnconnectedUdp {
114
114
}
115
115
116
116
/// This trait is implemented by UDP/IP stacks. The trait allows the underlying driver to
117
- /// construct multiple connections that implement the I/O traits from embedded-io.
117
+ /// construct multiple connections that implement the I/O traits from embedded-io-async .
118
118
///
119
119
/// Note that stacks with exotic connection creation methods may still not implement this, yet have
120
120
/// objects that implement [`ConnectedUdp`] or similar.
121
121
pub trait UdpStack {
122
122
/// Error type returned on socket creation failure.
123
- type Error : embedded_io :: Error ;
123
+ type Error : embedded_io_async :: Error ;
124
124
125
125
/// Eventual socket return type of the [`.connect()`] method
126
126
type Connected : ConnectedUdp < Error = Self :: Error > ;
0 commit comments