Trait cfg_traits::liquidity_pools::RouterProvider
source · pub trait RouterProvider<Domain>: Sized {
type RouterId;
// Required method
fn routers_for_domain(domain: Domain) -> Vec<Self::RouterId>;
}
Required Associated Types§
Required Methods§
sourcefn routers_for_domain(domain: Domain) -> Vec<Self::RouterId>
fn routers_for_domain(domain: Domain) -> Vec<Self::RouterId>
Returns a list of routers supported for the given domain.
Object Safety§
This trait is not object safe.