defuse::tokens::nep171

Trait NonFungibleTokenForceWithdrawer

Source
pub trait NonFungibleTokenForceWithdrawer: NonFungibleTokenWithdrawer + AccessControllable {
    // Required method
    fn nft_force_withdraw(
        &mut self,
        owner_id: AccountId,
        token: AccountId,
        receiver_id: AccountId,
        token_id: TokenId,
        memo: Option<String>,
        msg: Option<String>,
    ) -> PromiseOrValue<bool>;
}

Required Methods§

Source

fn nft_force_withdraw( &mut self, owner_id: AccountId, token: AccountId, receiver_id: AccountId, token_id: TokenId, memo: Option<String>, msg: Option<String>, ) -> PromiseOrValue<bool>

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§