added basic retreive

This commit is contained in:
ccgauche
2021-02-15 17:38:55 +01:00
committed by Marcel Märtens
parent 72bd0f42fc
commit a067a20b69
8 changed files with 89 additions and 12 deletions

View File

@ -9,6 +9,11 @@ pub enum Action {
KillEntity(Uid),
}
#[derive(Deserialize, Serialize, Debug)]
pub enum Retreive {
GetEntityName(Uid),
}
pub trait Event: Serialize + DeserializeOwned + Send + Sync {
type Response: Serialize + DeserializeOwned + Send + Sync;
}