Expand description
Types SDK
This crate provides the public API for the types module:
TypesClienttrait for inter-module communicationTypesErrorfor error handling
§Purpose
The types module is responsible for registering core GTS types that are used
throughout the framework (e.g., BaseModkitPluginV1 for plugin systems).
§Usage
Consumers obtain the client from ClientHub:
ⓘ
use types_sdk::TypesClient;
// Get the client from ClientHub
let client = hub.get::<dyn TypesClient>()?;
// Check if core types are registered
let ready = client.is_ready().await?;Re-exports§
pub use api::TypesClient;pub use error::TypesError;