chore: make message handlers and dispatcher generic

This commit is contained in:
michel
2025-01-06 22:49:19 +01:00
committed by Michel de Graaf
parent 766554134d
commit 066ddadaed
26 changed files with 787 additions and 121 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ use crate::{
server::ServerOperation,
};
pub struct FileSearch;
pub struct FileSearchHandler;
impl MessageHandler for FileSearch {
impl MessageHandler<ServerOperation> for FileSearchHandler {
fn get_code(&self) -> u8 {
26
}