pub trait ConnectionExt: RequestConnection {
// Provided methods
fn xc_misc_get_version(
&self,
client_major_version: u16,
client_minor_version: u16,
) -> Result<Cookie<'_, Self, GetVersionReply>, ConnectionError> { ... }
fn xc_misc_get_xid_range(
&self,
) -> Result<Cookie<'_, Self, GetXIDRangeReply>, ConnectionError> { ... }
fn xc_misc_get_xid_list(
&self,
count: u32,
) -> Result<Cookie<'_, Self, GetXIDListReply>, ConnectionError> { ... }
}
Expand description
Extension trait defining the requests of this extension.
Provided Methods§
fn xc_misc_get_version( &self, client_major_version: u16, client_minor_version: u16, ) -> Result<Cookie<'_, Self, GetVersionReply>, ConnectionError>
fn xc_misc_get_xid_range( &self, ) -> Result<Cookie<'_, Self, GetXIDRangeReply>, ConnectionError>
fn xc_misc_get_xid_list( &self, count: u32, ) -> Result<Cookie<'_, Self, GetXIDListReply>, 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.