multiversx_sc_scenario::imports

Trait ExternallyMergeable

Source
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§

Source

fn can_be_merged_externally_with(&self, other: &Self) -> bool

Provided Methods§

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§