pub trait Transferable {
// Required method
fn transferable_asset<T>(
self,
base: &T,
deps: Deps<'_>,
) -> Result<AssetBase<Addr>, AbstractSdkError>
where T: AbstractNameService + ModuleIdentification;
}
Expand description
Turn an object that represents an asset into the blockchain representation of an asset, i.e. Asset
.
Required Methods§
Sourcefn transferable_asset<T>(
self,
base: &T,
deps: Deps<'_>,
) -> Result<AssetBase<Addr>, AbstractSdkError>where
T: AbstractNameService + ModuleIdentification,
fn transferable_asset<T>(
self,
base: &T,
deps: Deps<'_>,
) -> Result<AssetBase<Addr>, AbstractSdkError>where
T: AbstractNameService + ModuleIdentification,
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.