Trait ConvertLocation
pub trait ConvertLocation<AccountId> {
// Required method
fn convert_location(location: &Location) -> Option<AccountId>;
}
Expand description
Means of converting a location into an account identifier.
Required Methods§
fn convert_location(location: &Location) -> Option<AccountId>
fn convert_location(location: &Location) -> Option<AccountId>
Convert the location
into Some
account ID, or None
if not possible.
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.