Comment Comment by laszlokorte In rust this would simply be enum ConnectionStste { Connected(u32), Disconnected } parent laszlokorte 1 month ago