Skip to main content

Crate rcall

Crate rcall 

Source

Re-exports§

pub use services_impl::Server;
pub use services_impl::Connection;
pub use services_impl::ServerSender;
pub use services_impl::ConnectionInfo;
pub use client_impl::Client;
pub use client_impl::ClientSender;
pub use packer::Packet;
pub use packer::PackTo;
pub use packer::UnpackFrom;

Modules§

client_impl
packer
services_impl

Macros§

client_to_remote_type
gen_values
pack
server_to_remote_type
generate a server remote type type Remote = rcall::server_to_remote_type(ImplInClientProtocol) let remote = Remote::new(sender)
tuple_append
unpack

Structs§

Bichannel

Constants§

CHANNEL_SIZE
CONNECT_ID_BEGIN

Traits§

ClientServices
RpcDispatcher
Sender
ServerServices

Type Aliases§

RpcId

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