ContentRouting

Trait ContentRouting 

Source
pub trait ContentRouting: Send + Sync {
    // Required methods
    fn is_html_page(&self, path: &str) -> bool;
    fn determine_source(&self, path: &str) -> String;
}
Available on crate feature core only.

Required Methods§

Source

fn is_html_page(&self, path: &str) -> bool

Source

fn determine_source(&self, path: &str) -> String

Implementors§