Crate zenkit

Source
Expand description

Rust client api for Zenkit

Modules§

prelude
Zenkit API common Traits and structs
types
This module defines the data types used in the ZenKit Api. Most are specified by Zenkit API Docs, and a few have been added to make the code more Rust-idiomatic.

Structs§

ApiClient
Zenkit http/API client
ApiConfig
Initialization parameters for Zenkit Api client

Enums§

Error
Errors returned by this crate

Functions§

get_api
Returns API handle, or error if not initialized
init_api
First-time initialization of Zenkit api client. If api was already initialized, returns Error::AlreadyInitialized
lookup_error
Get message associated with error code. Returns None if not found