Trait HandleImbalanceDrop
pub trait HandleImbalanceDrop<AssetId, Balance> {
// Required method
fn handle(asset: AssetId, amount: Balance);
}
Expand description
Handler for when an imbalance gets dropped. This could handle either a credit (negative) or debt (positive) imbalance.
Required Methods§
fn handle(asset: AssetId, amount: Balance)
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.