pub trait Query<T, C>where
C: Client,{
// Required method
fn query(&self, client: &C) -> Result<T, ApiError<C::Error>>;
}Expand description
A trait which represents a query which may be made to a client.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".