LoadPathPattern

Trait LoadPathPattern 

Source
pub trait LoadPathPattern: Sized {
    // Required methods
    fn load_path_pattern(pattern: &str) -> Result<Self>;
    fn load_path_pattern_from_dir<P: AsRef<Path>>(
        dir: P,
        pattern: &str,
    ) -> Result<Self>;
}

Required Methods§

Source

fn load_path_pattern(pattern: &str) -> Result<Self>

Source

fn load_path_pattern_from_dir<P: AsRef<Path>>( dir: P, pattern: &str, ) -> Result<Self>

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.

Implementations on Foreign Types§

Source§

impl<T: Eq + Hash + FromStr> LoadPathPattern for IndexSet<T>

Source§

fn load_path_pattern(pattern: &str) -> Result<Self>

Source§

fn load_path_pattern_from_dir<P: AsRef<Path>>( dir: P, pattern: &str, ) -> Result<Self>

Implementors§