alloy_json_rpc

Function transform_response

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

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