Add embedded-io implementation of ConnectError
This commit is contained in:
		
							parent
							
								
									39cffdd123
								
							
						
					
					
						commit
						8b676e65ad
					
				| @ -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 { | impl embedded_io::Error for Error { | ||||||
|     fn kind(&self) -> embedded_io::ErrorKind { |     fn kind(&self) -> embedded_io::ErrorKind { | ||||||
|         embedded_io::ErrorKind::Other |         embedded_io::ErrorKind::Other | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user