Trait Transferable

Source
pub trait Transferable {
    // Required method
    fn transferable_asset<T: AbstractNameService + ModuleIdentification>(
        self,
        base: &T,
        deps: Deps<'_>,
    ) -> AbstractSdkResult<Asset>;
}
Expand description

Turn an object that represents an asset into the blockchain representation of an asset, i.e. Asset.

Required Methods§

Source

fn transferable_asset<T: AbstractNameService + ModuleIdentification>( self, base: &T, deps: Deps<'_>, ) -> AbstractSdkResult<Asset>

Turn an object that represents an asset into the blockchain representation of an asset, i.e. Asset.

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.

Implementations on Foreign Types§

Source§

impl Transferable for &AnsAsset

Source§

impl Transferable for AnsAsset

Source§

impl Transferable for Coin

Source§

impl Transferable for Asset

Implementors§