mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Restructure some of the folder structure in unshell-server
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
use bincode::{Decode, Encode};
|
||||
|
||||
use crate::config::RuntimeConfig;
|
||||
|
||||
/// Mostly temporary server message type
|
||||
#[derive(Clone, Debug, Encode, Decode)]
|
||||
pub enum Announcement {
|
||||
|
||||
@@ -3,7 +3,7 @@ use std::{collections::HashMap, fmt::Debug};
|
||||
// use bincode::{Decode, Encode};
|
||||
// use serde::{Deserialize, Serialize};
|
||||
|
||||
use bincode::{Decode, Encode};
|
||||
// use bincode::{Decode, Encode};
|
||||
|
||||
use crate::{ModuleError, ModuleRuntime};
|
||||
|
||||
|
||||
@@ -5,12 +5,11 @@ impl Manager {
|
||||
match announcement {
|
||||
Announcement::TestAnnouncement(str) => {
|
||||
println!("Got test announcement: {}", str)
|
||||
}
|
||||
// Announcement::GetRuntimes => todo!(),
|
||||
// Announcement::GetRuntimesAck(_) => todo!(),
|
||||
// Announcement::StartRuntime(runtime_config) => todo!(),
|
||||
// Announcement::StartRuntimeAck(_) => todo!(),
|
||||
_ => {}
|
||||
} // Announcement::GetRuntimes => todo!(),
|
||||
// Announcement::GetRuntimesAck(_) => todo!(),
|
||||
// Announcement::StartRuntime(runtime_config) => todo!(),
|
||||
// Announcement::StartRuntimeAck(_) => todo!(),
|
||||
// _ => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user