referrerpolicy=no-referrer-when-downgrade

Trait CreateStrategy

pub trait CreateStrategy {
    type Success;
}
Expand description

A strategy for use in the Create implementations.

The common “create” strategy is WithConfig.

Required Associated Types§

type Success

This type represents a successful asset creation. It will be in the Result type of the Create::create function.

Implementors§

§

impl<ConfigValue, Assignment> CreateStrategy for WithConfig<ConfigValue, Assignment>
where ConfigValue: ConfigValueMarker, Assignment: IdAssignment,

§

type Success = <Assignment as IdAssignment>::ReportedId

§

impl<Inspect, Inner> CreateStrategy for CheckState<Inspect, Inner>
where Inspect: InspectStrategy, Inner: CreateStrategy,

§

type Success = <Inner as CreateStrategy>::Success

§

impl<RuntimeOrigin, Inner> CreateStrategy for CheckOrigin<RuntimeOrigin, Inner>
where Inner: CreateStrategy,

§

type Success = <Inner as CreateStrategy>::Success