pub type ApiResult<Api> = Result<<Api as Api>::Response, <Api as Api>::Error>;
The result of executing a custom API call.
enum ApiResult<Api> { Ok(<Api as Api>::Response), Err(<Api as Api>::Error), }
Contains the success value
Contains the error value