Skip to main content

Store

Trait Store 

Source
pub trait Store {
    type Canister: Canister;

    const KEY: &'static str;
}
Expand description

Logical store and the stable allocation it uses within its canister.

Required Associated Constants§

Source

const KEY: &'static str

IC Storage stable allocation key.

Required Associated Types§

Source

type Canister: Canister

Canister declaring this allocation.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§