alloy_json_rpc

Function 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.