Skip to main content

Crate rcall_macro

Crate rcall_macro 

Source

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); }

Derive Macros§

Dispatcher