macro_rules! ipc_peer_proxied_postcard_method {
(
$(#[$meta:meta])*
$vis:vis async fn $name:ident(
&self $(, $arg:ident : $arg_ty:ty )* $(,)?
) -> $ret:ty {
service: $service_name:expr,
method: $method_name:expr,
request: $req_expr:expr,
response: $resp_ty:ty,
map: |$resp:ident| $map_expr:expr $(,)?
}
) => { ... };
}Expand description
Generate a postcard-based IPC client method for proxied child calls.
This is the common case where a child process asks the workspace to spawn
another child, then communicates with it via the parent proxy_call API.