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

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.