referrerpolicy=no-referrer-when-downgrade
collectives_westend_runtime::xcm_config

Type Alias FellowsToPlurality

Source
pub type FellowsToPlurality = OriginToPluralityVoice<RuntimeOrigin, Fellows, FellowsBodyId>;
Expand description

Type to convert the Fellows origin to a Plurality Location value.

Aliased Type§

struct FellowsToPlurality(/* private fields */);

Trait Implementations

Source§

impl<RuntimeOrigin, EnsureBodyOrigin, Body> TryConvert<RuntimeOrigin, Location> for OriginToPluralityVoice<RuntimeOrigin, EnsureBodyOrigin, Body>
where RuntimeOrigin: Clone, EnsureBodyOrigin: EnsureOrigin<RuntimeOrigin>, Body: Get<BodyId>,

Source§

fn try_convert(o: RuntimeOrigin) -> Result<Location, RuntimeOrigin>

Attempt to make conversion. If returning Result::Err, the inner must always be a.