#[rpc]Expand description
#[rcall::protocol] triat ServerProtocol { #[rcall::rpc(1)] fn hello_from_client(&self, msg: &str); #[rcall::rcp(2)] fn login(&self, name: &str, password: &str); }
#[rpc]#[rcall::protocol] triat ServerProtocol { #[rcall::rpc(1)] fn hello_from_client(&self, msg: &str); #[rcall::rcp(2)] fn login(&self, name: &str, password: &str); }