@@ -28,7 +28,7 @@ use crate::SocketAddr;
2828/// address at connect time.
2929pub trait ConnectedUdp {
3030 /// Error type returned by send and receive operations.
31- type Error : embedded_io :: Error ;
31+ type Error : embedded_io_async :: Error ;
3232
3333 /// Send the provided data to the connected peer
3434 async fn send ( & mut self , data : & [ u8 ] ) -> Result < ( ) , Self :: Error > ;
@@ -67,7 +67,7 @@ pub trait ConnectedUdp {
6767/// applicable. The implementer MAY check them for compatibility, and SHOULD do that in debug mode.
6868pub trait UnconnectedUdp {
6969 /// Error type returned by send and receive operations.
70- type Error : embedded_io :: Error ;
70+ type Error : embedded_io_async :: Error ;
7171
7272 /// Send the provided data to a peer
7373 ///
@@ -114,13 +114,13 @@ pub trait UnconnectedUdp {
114114}
115115
116116/// 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 .
118118///
119119/// Note that stacks with exotic connection creation methods may still not implement this, yet have
120120/// objects that implement [`ConnectedUdp`] or similar.
121121pub trait UdpStack {
122122 /// Error type returned on socket creation failure.
123- type Error : embedded_io :: Error ;
123+ type Error : embedded_io_async :: Error ;
124124
125125 /// Eventual socket return type of the [`.connect()`] method
126126 type Connected : ConnectedUdp < Error = Self :: Error > ;
0 commit comments