pub trait BaseUrlProvider: Source {
// Required method
fn get_base_url(&self) -> Result<String>;
}Expand description
A source that provides a programmatic base url.
The use of this trait is discouraged in favor of providing the source url statically.
Required Methods§
fn get_base_url(&self) -> Result<String>
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.