work (new network + db initial working state)
This commit is contained in:
@@ -21,6 +21,7 @@ pub type LoadMsg = LoadMsgV0;
|
||||
pub type ServerError = ServerErrorV0;
|
||||
pub type CreateAccount = CreateAccountV0;
|
||||
pub type AccountCreated = AccountCreatedV0;
|
||||
pub type UserId = UserIdV0;
|
||||
|
||||
impl From<CreateAccount> for ClientMsg {
|
||||
fn from(value: CreateAccount) -> Self {
|
||||
@@ -33,3 +34,15 @@ impl From<ServerError> for ServerMsg {
|
||||
Self::ServerError(value)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<LoadMsg> for ServerMsg {
|
||||
fn from(value: LoadMsg) -> Self {
|
||||
Self::LoadMsg(value)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<AccountCreated> for ServerMsg {
|
||||
fn from(value: AccountCreated) -> Self {
|
||||
Self::AccountCreated(value)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user