alloy_json_rpc

Type Alias BorrowedRpcResult

source
pub type BorrowedRpcResult<'a, E> = RpcResult<&'a RawValue, E, &'a RawValue>;
Expand description

A partially deserialized RpcResult, borrowing from the deserializer.

Aliased Type§

enum BorrowedRpcResult<'a, E> {
    Ok(&'a RawValue),
    Err(RpcError<E, &'a RawValue>),
}

Variants§

§1.0.0

Ok(&'a RawValue)

Contains the success value

§1.0.0

Err(RpcError<E, &'a RawValue>)

Contains the error value