rust-nex/rnex-core/src/rmc/protocols/message_delivery.rs
red binder 587dda7333
All checks were successful
Build and Test / fast-racing-neo (push) Successful in 3m17s
Build and Test / wii-u-chat (push) Successful in 3m40s
Build and Test / wii-sports-club (push) Successful in 3m51s
Build and Test / minecraft-wiiu (push) Successful in 3m51s
Build and Test / splatoon-testfire (push) Successful in 4m12s
Build and Test / super-mario-maker (push) Successful in 4m47s
Build and Test / friends (push) Successful in 3m51s
Build and Test / splatoon (push) Successful in 3m52s
Build and Test / mario-tennis (push) Successful in 3m52s
Build and Test / puyopuyo (push) Successful in 3m58s
Build and Test / sonic-transformed (push) Successful in 4m11s
make messagedelivery return
2026-06-20 00:27:15 +02:00

18 lines
480 B
Rust

use macros::{method_id, rmc_proto};
use crate::rmc::{
protocols::messaging::UserMessage,
response::ErrorCode,
structures::{Error, any::Any},
};
#[rmc_proto(27)]
pub trait MessageDelivery {
#[method_id(1)]
async fn deliver_message(&self, message: Any<UserMessage>) -> Result<(), ErrorCode>;
}
// #[rmc_proto(27, NoReturn)]
// pub trait MessageDeliveryNoResponse {
// #[method_id(1)]
// async fn deliver_message(&self, message: Any<UserMessage>);
// }