Some checks failed
Build and Test / super-mario-maker (push) Failing after 10m30s
Build and Test / fast-racing-neo (push) Failing after 11m40s
Build and Test / friends (push) Failing after 11m56s
Build and Test / wii-sports-club (push) Failing after 12m9s
Build and Test / splatoon (push) Failing after 12m14s
Build and Test / puyopuyo (push) Failing after 12m23s
Build and Test / wii-u-chat (push) Failing after 12m23s
Build and Test / mario-tennis (push) Failing after 12m23s
Build and Test / sonic-transformed (push) Failing after 12m23s
Build and Test / splatoon-testfire (push) Failing after 12m30s
Build and Test / minecraft-wiiu (push) Failing after 12m37s
22 lines
487 B
Rust
22 lines
487 B
Rust
use std::net::SocketAddrV4;
|
|
|
|
use rnex_rmc::{RmcSerialize, define_rmc_proto, method_id, response::ErrorCode, rmc_proto};
|
|
|
|
#[rmc_proto(1)]
|
|
pub trait EdgeNodeManagement {
|
|
#[method_id(1)]
|
|
async fn get_url(&self, seed: u64) -> Result<SocketAddrV4, ErrorCode>;
|
|
}
|
|
|
|
define_rmc_proto!(
|
|
proto EdgeNodeHolder{
|
|
EdgeNodeManagement
|
|
}
|
|
);
|
|
|
|
#[derive(RmcSerialize, Debug)]
|
|
#[repr(u32)]
|
|
pub enum EdgeNodeHolderConnectOption {
|
|
DontRegister = 0,
|
|
Register(SocketAddrV4) = 1,
|
|
}
|