Macros§
- client_
to_ remote_ type - server_
to_ remote_ type - generate a server remote type type Remote = rcall::server_to_remote_type(ImplInClientProtocol) let remote = Remote::new(sender)
Attribute Macros§
- protocol
- protocol_
impl - 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); }