From 35ac0e9f4649cb61a039e3a20e576f0140976fe4 Mon Sep 17 00:00:00 2001 From: red binder Date: Mon, 13 Apr 2026 00:30:10 +0200 Subject: [PATCH] Compiler pissing me off --- rnex-core/src/nex/datastore.rs | 4 ++-- rnex-core/src/rmc/protocols/datastore.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rnex-core/src/nex/datastore.rs b/rnex-core/src/nex/datastore.rs index c24f75c..a3b55c8 100644 --- a/rnex-core/src/nex/datastore.rs +++ b/rnex-core/src/nex/datastore.rs @@ -16,7 +16,7 @@ pub struct User { } impl DataStore for User { - async fn get_meta(&self, metaparam: GetMetaParam) -> Result { + async fn get_meta(&self, metaparam: GetMetaParam) -> Result { // // bogus // let info: GetMetaInfo = GetMetaInfo { // dataid: 10, @@ -26,6 +26,6 @@ impl DataStore for User { // } // just trying to see what methods it tries to use - Err(rnex_core::rmc::response::ErrorCode::DataStore_NotFound) + Err(ErrorCode::DataStore_NotFound) } } \ No newline at end of file diff --git a/rnex-core/src/rmc/protocols/datastore.rs b/rnex-core/src/rmc/protocols/datastore.rs index 796281d..d1eb4ff 100644 --- a/rnex-core/src/rmc/protocols/datastore.rs +++ b/rnex-core/src/rmc/protocols/datastore.rs @@ -1,5 +1,5 @@ use macros::{method_id, rmc_proto, RmcSerialize, rmc_struct}; -use crate::rmc::response::ErrorCode; +use rnex_core::rmc::response::ErrorCode; use rnex_core::rmc::structures::qbuffer::QBuffer; use rnex_core::kerberos::KerberosDateTime; @@ -70,5 +70,5 @@ pub struct GetMetaInfo { #[rmc_proto(115)] pub trait DataStore{ #[method_id(8)] - async fn get_meta(&self, metaparam: GetMetaParam) -> Result; + async fn get_meta(&self, metaparam: GetMetaParam) -> Result; } \ No newline at end of file