Function wrpc_transport::frame::invoke

source ยท
pub async fn invoke<P, I, O>(
    tx: O,
    rx: I,
    instance: &str,
    func: &str,
    params: Bytes,
    paths: impl AsRef<[P]> + Send,
) -> Result<(Outgoing, Incoming)>
where P: AsRef<[Option<usize>]> + Send + Sync, I: AsyncRead + Unpin + Send + 'static, O: AsyncWrite + Unpin + Send + 'static,
Expand description

Invoke function func on instance instance