pub trait NoteChainTransfer<Balance> {
// Required methods
fn note_transfer_in(amount: Balance, from_chain_id: ChainId) -> bool;
fn note_transfer_out(amount: Balance, to_chain_id: ChainId) -> bool;
}
Expand description
Trait to note cross chain transfer
Required Methods§
fn note_transfer_in(amount: Balance, from_chain_id: ChainId) -> bool
fn note_transfer_out(amount: Balance, to_chain_id: ChainId) -> 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.