pub type ApiResult<T> = Result<T, ApiError>;
Result type for host-calls, parameterized by the type of the successful result.
enum ApiResult<T> { Ok(T), Err(ApiError), }
Contains the success value
Contains the error value