From f020ed86341a44373b5a1714715af05ebd1bbfb3 Mon Sep 17 00:00:00 2001 From: red binder Date: Mon, 13 Apr 2026 00:38:38 +0200 Subject: [PATCH] ACTUALLY define the protocol Maple, why --- rnex-core/src/nex/datastore.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rnex-core/src/nex/datastore.rs b/rnex-core/src/nex/datastore.rs index 83b7cce..e6b532e 100644 --- a/rnex-core/src/nex/datastore.rs +++ b/rnex-core/src/nex/datastore.rs @@ -1,12 +1,12 @@ -use rnex_core::rmc::protocols::datastore::DataStore; use crate::define_rmc_proto; -// use macros::rmc_struct; +use macros::rmc_struct; use rnex_core::prudp::socket_addr::PRUDPSockAddr; use std::sync::{Weak}; use rnex_core::PID; -use crate::nex::remote_console::RemoteConsole; +use rnex_core::nex::remote_console::RemoteConsole; use rnex_core::rmc::response::ErrorCode; use rnex_core::rmc::protocols::datastore::{GetMetaInfo, GetMetaParam}; +use rnex_core::rmc::protocols::datastore::{DataStore, RawDataStore, RawDataStoreInfo, RemoteDataStore}; define_rmc_proto!( proto DataStoreUser { @@ -14,6 +14,7 @@ define_rmc_proto!( } ); +#[rmc_struct(DataStoreUser)] pub struct DataStoreUser { pub pid: PID, pub ip: PRUDPSockAddr,