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