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
18 lines
480 B
Rust
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>);
|
|
// }
|