referrerpolicy=no-referrer-when-downgrade

Trait StashStrategy

pub trait StashStrategy {
    type Success;
}
Expand description

A strategy for use in the Stash implementations.

The common stash strategies are:

Required Associated Types§

type Success

This type represents a successful asset stashing. It will be in the Result type of the Stash::stash function.

Implementors§

§

impl StashStrategy for NoParams

§

type Success = ()

§

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

§

type Success = <Inner as StashStrategy>::Success

§

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

§

type Success = <Inner as StashStrategy>::Success