pub trait Post {
type Response: Value;
// Required method
fn send(
self,
) -> impl Future<Output = Result<Self::Response, Error>> + Send + Sync;
}Expand description
A trait defining the response and send future for HTTP POSTs
Required Associated Types§
Required 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.