pubmodasynchronous;pubmodsync;/// This type represent the result of a network operation
pubtypeNetworkResult<T>=Result<T, Box<dyn std::error::Error>>;/// This enum represent the different update we will receive from the network
pubenumNetworkUpdate{/// No message received
None,/// A message has been received
Update { msg:String},}