pub trait ConnectionExt: RequestConnection {
// Provided method
fn ge_query_version(
&self,
client_major_version: u16,
client_minor_version: u16,
) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... }
}
Expand description
Extension trait defining the requests of this extension.
Provided Methods§
fn ge_query_version( &self, client_major_version: u16, client_minor_version: u16, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>
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.