pub trait Provider {
// Required method
fn complete(&self, req: Request<'_>) -> Result<Response, AskError>;
}Expand description
A single one-shot call. Sync because every supported provider has
a sync HTTPS entry point and ask() itself is sync (matches the
engine’s surface — Connection::execute etc. are all sync).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".