pub trait Request {
type Response;
// Required method
fn request(
self,
client: &Client,
) -> impl Future<Output = Result<Self::Response, Error>> + Send;
}Expand description
The type that represents a request for Slack API.
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.