pub trait ClientCreator: Sized {
// Required method
fn new<TP>(client: Client, url: Url, token_provider: TP) -> Result<Self>
where TP: TokenProvider + 'static;
}Expand description
Create a new client from a URL, an HTTP client, and a token provider.
Required Methods§
fn new<TP>(client: Client, url: Url, token_provider: TP) -> Result<Self>where
TP: TokenProvider + 'static,
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.