pub trait SearchPath<'a>: Copy {
// Required method
fn iter_schemas(self) -> impl Iterator<Item = &'a str>;
}Expand description
Abstracts over search-path representations so callers don’t need to allocate a
Vec<&str> just to invoke the lookup helpers.
Implemented for [&'s str] (covering &'static [&'static str] from the typer) and
[Identifier<'a>] (so SchemaCtx can pass self.search_path directly).
Required Methods§
fn iter_schemas(self) -> impl Iterator<Item = &'a str>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".