Module types

Module types 

Source
Expand description

Common types used across CHIE Protocol.

This module is organized into several submodules:

  • core: Core type aliases and constants
  • enums: Enumeration types (categories, statuses, roles, etc.)
  • validation: Validation types and error handling
  • content: Content metadata and related types
  • bandwidth: Bandwidth proof protocol types
  • api: API-related types (responses, errors, pagination, etc.)
  • stats: Statistics and metrics types
  • cache: Cache statistics and metrics types
  • profiling: Performance profiling and operation metrics types
  • quota: Quota management types (storage, bandwidth, rate limits)
  • batch: Batch operation types for efficient processing
  • ids: Strongly-typed ID wrappers for type safety
  • fixed_arrays: Const-generic fixed-size array types for cryptographic operations
  • experiments: A/B testing and feature experiment types
  • state_machine: Phantom types for compile-time state machine enforcement

Re-exports§

pub use api::*;
pub use bandwidth::*;
pub use batch::*;
pub use cache::*;
pub use content::*;
pub use core::*;
pub use enums::*;
pub use experiments::*;
pub use fixed_arrays::*;
pub use ids::*;
pub use profiling::*;
pub use quota::*;
pub use state_machine::*;
pub use stats::*;
pub use validation::*;

Modules§

api
API-related types for CHIE Protocol.
bandwidth
Bandwidth proof protocol types and validation.
batch
Batch operation types for efficient processing in CHIE Protocol.
cache
Cache-related types for CHIE Protocol.
content
Content metadata types for CHIE Protocol.
core
Core type aliases and constants for CHIE Protocol.
enums
Enum types for CHIE Protocol.
experiments
A/B testing and feature experiment types.
fixed_arrays
Fixed-size array types with const generics for type-safe cryptographic operations.
ids
Strongly-typed ID wrappers for better type safety
profiling
Profiling and performance metrics types for CHIE Protocol.
quota
Quota management types for CHIE Protocol.
state_machine
State machine types with compile-time state enforcement using phantom types.
stats
Statistics and metrics types for CHIE Protocol.
validation
Validation types and utilities for CHIE Protocol.