pub trait AsyncQuery<T, C>where
C: AsyncClient,{
// Required method
fn query_async(
&self,
client: &C,
) -> impl Future<Output = Result<T, ApiError<C::Error>>> + Send;
}
Expand description
A trait which represents an asynchronous query which may be made to a client.
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.