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§
Sourcefn transferable_asset<T: AbstractNameService + ModuleIdentification>(
self,
base: &T,
deps: Deps<'_>,
) -> AbstractSdkResult<Asset>
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.