PortalMatcher

Trait PortalMatcher 

Source
pub trait PortalMatcher {
    // Required methods
    fn match_portal(&self, addr: &str) -> Portals;
    fn get_portal_address(&self, portal: Portals) -> Option<&str>;
}

Required Methods§

Source

fn match_portal(&self, addr: &str) -> Portals

Source

fn get_portal_address(&self, portal: Portals) -> Option<&str>

Implementors§