referrerpolicy=no-referrer-when-downgrade

Trait RestoreStrategy

pub trait RestoreStrategy {
    type Success;
}
Expand description

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

Required Associated Types§

type Success

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

Implementors§

§

impl RestoreStrategy for NoParams

§

type Success = ()

§

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

§

type Success = ()

§

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

§

type Success = <Inner as RestoreStrategy>::Success

§

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

§

type Success = <Inner as RestoreStrategy>::Success