Issue 128: Convert frame::Reason to struct (#142)
Alter frame::Reason to a struct with a single u32 member. Introduce Constants to the impl for existing Reasons. Change all usage in the library and its tests to adopt this change, using the new constants.
This commit is contained in:
		
				
					committed by
					
						 Carl Lerche
						Carl Lerche
					
				
			
			
				
	
			
			
			
						parent
						
							1c179f7bf2
						
					
				
				
					commit
					2aee78c7d7
				
			| @@ -23,7 +23,6 @@ use self::state::State; | ||||
| use self::store::{Entry, Store}; | ||||
| use self::stream::Stream; | ||||
|  | ||||
| use error::Reason::*; | ||||
| use frame::{StreamId, StreamIdOverflow}; | ||||
| use proto::*; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user