Update to hyper 0.13
This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							db2de90e42
						
					
				
				
					commit
					0f32c4a01a
				
			
							
								
								
									
										11
									
								
								src/error.rs
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								src/error.rs
									
									
									
									
									
								
							| @@ -258,9 +258,6 @@ pub(crate) fn decode_io(e: io::Error) -> Error { | ||||
| #[derive(Debug)] | ||||
| pub(crate) struct TimedOut; | ||||
|  | ||||
| #[derive(Debug)] | ||||
| pub(crate) struct BlockingClientInAsyncContext; | ||||
|  | ||||
| impl fmt::Display for TimedOut { | ||||
|     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||||
|         f.write_str("operation timed out") | ||||
| @@ -269,14 +266,6 @@ impl fmt::Display for TimedOut { | ||||
|  | ||||
| impl StdError for TimedOut {} | ||||
|  | ||||
| impl fmt::Display for BlockingClientInAsyncContext { | ||||
|     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||||
|         f.write_str("blocking Client used inside a Future context") | ||||
|     } | ||||
| } | ||||
|  | ||||
| impl StdError for BlockingClientInAsyncContext {} | ||||
|  | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use super::*; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user