[][src]Trait warmy::key::Key

pub trait Key: 'static + Clone + Eq + Hash {
    fn prepare_key(self, root: &Path) -> Self;
}

Class of recognized keys.

Required methods

fn prepare_key(self, root: &Path) -> Self

Prepare a key.

If your key is akin to a file system key, it’s very likely you need to substitute its VFS path with the root argument. It’s advised to use the prepare_key method for your inner key value.

Loading content...

Implementors

impl Key for SimpleKey[src]

Loading content...