Crate netidx_protocols
source ·Modules§
Macros§
- Convenience macro for calling rpcs.
call_rpc!(proc, arg0: 3, arg1: "foo", arg2: vec!["foo", "bar", "baz"])
- defines a new rpc.
define_rpc!(publisher, path, doc, mapfn, tx, arg: typ = default; doc, ...)
seeProc
for an example - for use in map functions, will reply to the client with an error and return None