Trait EnsureProxy
pub trait EnsureProxy<AccountId> {
// Required method
fn ensure_ok(
delegator: AccountId,
delegatee: AccountId,
) -> Result<(), &'static str>;
}
Expand description
Ensure that a proxy between delegator
and delegatee
exists in order to deny or grant
permission to do xcm-transact to transact_through_proxy
.
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.