pub trait ExternallyMergeable<M>where
M: ManagedTypeApi,{
// Required method
fn can_be_merged_externally_with(&self, other: &Self) -> bool;
// Provided method
fn error_if_not_externally_mergeable(&self, other: &Self) { ... }
}
Expand description
Used when merging is done through an external SC call. Generally, these only need to have the same token ID, with different nonces.
Required Methods§
fn can_be_merged_externally_with(&self, other: &Self) -> bool
Provided Methods§
fn error_if_not_externally_mergeable(&self, other: &Self)
Object Safety§
This trait is not object safe.