Skip to main content

resolve_route

Function resolve_route 

Source
pub fn resolve_route<'a>(
    routes: &'a [Route],
    key: &SurfaceKey,
    guild_id: Option<&str>,
) -> Option<&'a str>
Expand description

The profile a surface routes to, or None for the adapter’s own profile. Ties are broken by declaration order, as Hermes does.