Crate canic_types

Crate canic_types 

Source
Expand description

Shared Canic wrappers around candid-friendly IC/CDK types. Centralizes domain types so downstreams have a single import surface.

Structs§

BoundedString
BoundedString String wrapper enforcing a compile-time maximum length, with serde and storage trait implementations.
Cycles
Cycles Thin wrapper around Nat that carries helper traits and serializers for arithmetic on cycle balances.
Decimal
Decimal Candid-friendly decimal wrapper backed by rust_decimal::Decimal.
WasmModule
WasmModule Holds a reference to embedded WASM bytes and exposes helper inspectors.

Constants§

BC
KC
Constants Cycle unit shorthands for configs and logs
MC
QC
TC

Type Aliases§

BoundedString8
BoundedString16
BoundedString32
BoundedString64
BoundedString128
BoundedString256