Trait lang_util_dev::test_util::PathKey

source ·
pub trait PathKey:
    Display
    + PartialEq
    + Eq
    + Hash
    + Clone
    + Sized {
    // Required method
    fn all() -> &'static [Self];

    // Provided methods
    fn local_results_prefix() -> &'static str { ... }
    fn public_results_prefix() -> &'static str { ... }
}
Expand description

Key for differentiating between kinds of test outputs

Required Methods§

source

fn all() -> &'static [Self]

Return the list of all possible test output kinds

Provided Methods§

source

fn local_results_prefix() -> &'static str

Return the directory name for the local results

source

fn public_results_prefix() -> &'static str

Return the directory name for the public results

Object Safety§

This trait is not object safe.

Implementors§