Function alloy_json_rpc::transform_response

source ยท
pub fn transform_response<T, E, ErrResp>(
    response: Response<T, ErrResp>,
) -> RpcResult<T, E, ErrResp>
where ErrResp: RpcReturn,
Expand description

Transform a transport response into an RpcResult, discarding the Id.