referrerpolicy=no-referrer-when-downgrade

Trait DestroyStrategy

pub trait DestroyStrategy {
    type Success;
}
Expand description

A strategy for use in the Destroy implementations.

The common destroy strategies are:

Required Associated Types§

type Success

This type represents a successful asset destruction. It will be in the Result type of the Destroy::destroy function.

Implementors§

§

impl DestroyStrategy for NoParams

§

type Success = ()

§

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

§

type Success = <Inner as DestroyStrategy>::Success

§

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

§

type Success = <Inner as DestroyStrategy>::Success