pub type RpcResult<T> = Result<T, RpcError>;
Result type for RPC operations that needs to be serializable.
pub enum RpcResult<T> { Ok(T), Err(RpcError), }
Contains the success value
Contains the error value