CreateWithNoSupplyBuilder

Trait CreateWithNoSupplyBuilder 

Source
pub trait CreateWithNoSupplyBuilder: CanCreateWithNoSupply {
    // Provided method
    fn create_with_no_initial_supply<Y: SystemApi<E>, E: SystemApiError>(
        self,
        env: &mut Y,
    ) -> Result<ResourceManager, E> { ... }
}

Provided Methods§

Source

fn create_with_no_initial_supply<Y: SystemApi<E>, E: SystemApiError>( self, env: &mut Y, ) -> Result<ResourceManager, E>

Creates the resource with no initial supply.

The resource’s address is returned.

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§

Source§

impl<B: CanCreateWithNoSupply> CreateWithNoSupplyBuilder for B