pub trait Query<C> {
type Result;
// Required method
fn execute(self, client: &C) -> impl Future<Output = Self::Result> + Send;
}Expand description
A trait which represents an asynchronous query which may be made to a Lettermint client.
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.