pub trait Forwarder<AccountId, Balance> {
// Required method
fn forward(source: AccountId, amount: Balance) -> Result<(), ()>;
}Expand description
Trait for forwarding accumulated funds to a configured destination.
Implementations carry all message-construction and dispatch logic, keeping this pallet free of transport-specific dependencies.
Required 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.