Trait RelayChain

Source
pub trait RelayChain: 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.

Implementors§