pub trait Inspect<AccountId>: Inspect<AccountId> {
// Required method
fn allowance(
asset: Self::AssetId,
owner: &AccountId,
delegate: &AccountId,
) -> Self::Balance;
}
Required Methods§
fn allowance( asset: Self::AssetId, owner: &AccountId, delegate: &AccountId, ) -> Self::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.