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

Trait AsCanUpdate

Source
pub trait AsCanUpdate: Sized + UpdateStrategy {
    // Required method
    fn as_can_update(self) -> CanUpdate<Self>;
}
Expand description

This trait converts the given UpdateStrategy into the corresponding CanUpdate strategy representing the ability to update the asset using the provided strategy.

Required Methods§

Source

fn as_can_update(self) -> CanUpdate<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§