referrerpolicy=no-referrer-when-downgrade
frame_support::traits::tokens::asset_ops

Trait RestoreStrategy

Source
pub trait RestoreStrategy {
    type Success;
}
Expand description

A strategy for use in the Restore implementations. The common restore strategies are:

Required Associated Types§

Source

type Success

This type represents a successful asset restoration. It will be in the Result type of the Restore::restore function.

Implementors§

Source§

impl RestoreStrategy for NoParams

Source§

impl<ConfigValue: ConfigValueMarker, Extra> RestoreStrategy for WithConfig<ConfigValue, Extra>

Source§

impl<Inspect: InspectStrategy, Inner: RestoreStrategy> RestoreStrategy for CheckState<Inspect, Inner>

Source§

impl<RuntimeOrigin, Inner: RestoreStrategy> RestoreStrategy for CheckOrigin<RuntimeOrigin, Inner>