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