alloy_json_rpc

Function try_deserialize_ok

Source
pub fn try_deserialize_ok<J, T, E, ErrResp>(
    result: RpcResult<J, E, ErrResp>,
) -> RpcResult<T, E, ErrResp>
where J: Borrow<RawValue>, T: RpcReturn, ErrResp: RpcReturn,
Expand description

Attempt to deserialize the Ok(_) variant of an RpcResult.