pub trait WebInterface {
const API_URL_ENV_VAR: &'static str;
const API_SUFFIX: &'static str;
// Required method
fn from_client(client: WebClient) -> Self;
// Provided method
fn rebase_service_url(base_url: Rc<Url>) -> Result<Rc<Url>> { ... }
}Required Associated Constants§
const API_URL_ENV_VAR: &'static str
const API_SUFFIX: &'static str
Required Methods§
fn from_client(client: WebClient) -> Self
Provided Methods§
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.