Skip to main content

EntityPlacement

Trait EntityPlacement 

Source
pub trait EntityPlacement {
    type Store: StoreKind<Canister = Self::Canister>;
    type Canister: CanisterKind;
}
Expand description

Runtime placement of an entity in one store and canister.

Required Associated Types§

Source

type Store: StoreKind<Canister = Self::Canister>

Store that owns the entity’s rows.

Source

type Canister: CanisterKind

Canister that owns the declared store.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§