Trait Mutate
pub trait Mutate<AccountId>: Inspect<AccountId> {
// Required method
fn set(
asset: Self::AssetId,
from: &AccountId,
name: Vec<u8>,
symbol: Vec<u8>,
decimals: u8,
) -> Result<(), DispatchError>;
}
Required Methods§
fn set( asset: Self::AssetId, from: &AccountId, name: Vec<u8>, symbol: Vec<u8>, decimals: u8, ) -> Result<(), DispatchError>
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.