[−][src]Function jsonrpc::error::result_to_response
pub fn result_to_response(
result: Result<Value, RpcError>,
id: Value
) -> Response
Converts a Rust Result
to a JSONRPC response object
pub fn result_to_response(
result: Result<Value, RpcError>,
id: Value
) -> Response
Converts a Rust Result
to a JSONRPC response object