Restructure proto
The existing code has been moved out and is being copied back piece / by piece while restructuring the code to (hopefully) be more manageable.
This commit is contained in:
		| @@ -12,10 +12,6 @@ pub struct Ping { | ||||
| } | ||||
|  | ||||
| impl Ping { | ||||
|     pub fn ping(payload: Payload) -> Ping { | ||||
|         Ping { ack: false, payload } | ||||
|     } | ||||
|  | ||||
|     pub fn pong(payload: Payload) -> Ping { | ||||
|         Ping { ack: true, payload } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user