Skip to main content

encode_with_callback

Function encode_with_callback 

Source
pub fn encode_with_callback<R: GoStruct>(
    request: &R,
    callback_id: &str,
) -> Vec<u8> ⓘ
Expand description

rpc<X>Request: a request struct’s fields followed by host_callback_id (omitted when empty), as Go’s embedding wrappers encode.