Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§