KeyMaker

Trait KeyMaker 

Source
pub trait KeyMaker {
    // Required method
    fn make(&self, key: &Cow<'_, str>, resource: bool) -> String;
}

Required Methods§

Source

fn make(&self, key: &Cow<'_, str>, resource: bool) -> String

Implementors§

Source§

impl<F> KeyMaker for F
where F: Fn(&Cow<'_, str>, bool) -> String,