Compiler pissing me off
This commit is contained in:
parent
7e22acda59
commit
35ac0e9f46
2 changed files with 4 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ pub struct User {
|
|||
}
|
||||
|
||||
impl DataStore for User {
|
||||
async fn get_meta(&self, metaparam: GetMetaParam) -> Result<GetMetaInfo, rnex_core::rmc::response::ErrorCode> {
|
||||
async fn get_meta(&self, metaparam: GetMetaParam) -> Result<GetMetaInfo, ErrorCode> {
|
||||
// // 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)
|
||||
}
|
||||
}
|
||||
|
|
@ -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<GetMetaInfo, rnex_core::rmc::response::ErrorCode>;
|
||||
async fn get_meta(&self, metaparam: GetMetaParam) -> Result<GetMetaInfo, ErrorCode>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue