pub type Result<T> = Result<T, Error>;
Expand description
A type alias for Result<T, Error>
This is a convenience type that represents either a successful result of type T
or a JSON-RPC error.
Aliased Type§
pub enum Result<T> {
Ok(T),
Err(Error),
}