Move greeting into its own function, tidy up error path.
This commit is contained in:
parent
cf513ace26
commit
03e4512839
3 changed files with 43 additions and 35 deletions
src/net
|
@ -1,5 +1,7 @@
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
pub mod server;
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
#[serde(tag = "t")]
|
||||
pub enum ClientMessage<I, S> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue