[][src]Function swipc_gen::gen_rust_code::gen_call

fn gen_call(cmd: &Func, is_async: bool) -> Result<String, Error>

Parse an incoming request, call the appropriate function from the trait we're currently generating (see generate_trait()), and fill the byte buffer with the response data.