pub trait NoStream:
Post
+ Serialize
+ Sync
+ Send {
// Provided method
fn get_response(
&self,
url: &str,
key: &str,
) -> impl Future<Output = Result<String, RequestError>> + Send + Sync { ... }
}
Provided Methods§
Sourcefn get_response(
&self,
url: &str,
key: &str,
) -> impl Future<Output = Result<String, RequestError>> + Send + Sync
fn get_response( &self, url: &str, key: &str, ) -> impl Future<Output = Result<String, RequestError>> + Send + Sync
Sends a POST request to the specified URL with the provided api-key.
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.