referrerpolicy=no-referrer-when-downgrade
pub trait Relay: Chain {
    type SovereignAccountOf: ConvertLocation<<Self::Runtime as Config>::AccountId>;
    type MessageProcessor: ProcessMessage<Origin = Id> + ServiceQueues;

    // Required method
    fn init();

    // Provided methods
    fn child_location_of(id: Id) -> Location { ... }
    fn sovereign_account_id_of(
        location: Location,
    ) -> <Self::Runtime as Config>::AccountId { ... }
    fn sovereign_account_id_of_child_para(
        id: Id,
    ) -> <Self::Runtime as Config>::AccountId { ... }
}

Required Associated Types§

Required Methods§

Provided 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.

Implementations on Foreign Types§

§

impl<N> RelayChain for Westend<N>
where N: Network,

Implementors§

impl<N: Network> RelayChain for Rococo<N>