Crate canic

Crate canic 

Source
Expand description

Thin facade over the Canic stack re-exporting the core crate and helpers.

Re-exports§

pub use canic_cdk as cdk;
pub use canic_core as core;
pub use canic_types as types;
pub use canic_utils as utils;

Modules§

log
RE-EXPORTS
prelude
Prelude should only be used in the Actor file

Macros§

build
RE-EXPORTS
build_root
RE-EXPORTS
eager_init
Run $body during process start-up using ctor.
eager_static
Declare a thread-local static and schedule an eager initialization touch.
ic_memory
Declare a stable-memory slot backed by the Canic memory registry.
ic_memory_range
Reserve a contiguous block of stable-memory IDs for the current crate.
impl_storable_bounded
Implement Storable with a bounded size guarantee.
impl_storable_unbounded
Implement Storable without a size bound.
log
RE-EXPORTS
perf_start
Record a single-call instruction counter snapshot when the surrounding scope exits.
start
RE-EXPORTS
start_root
RE-EXPORTS

Enums§

Error
RE-EXPORTS
Level
RE-EXPORTS

Constants§

CRATE_NAME
CONSTANTS
VERSION