ConnectionExt

Trait ConnectionExt 

Source
pub trait ConnectionExt: RequestConnection {
Show 21 methods // Provided methods fn xf86vidmode_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_get_mode_line( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetModeLineReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_mod_mode_line<'c, 'input, 'future>( &'c self, screen: u32, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>> where 'c: 'future, 'input: 'future { ... } fn xf86vidmode_switch_mode( &self, screen: u16, zoom: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_get_monitor( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetMonitorReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_lock_mode_switch( &self, screen: u16, lock: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_get_all_mode_lines( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetAllModeLinesReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_add_mode_line<'c, 'input, 'future>( &'c self, screen: u32, dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, after_dotclock: Dotclock, after_hdisplay: u16, after_hsyncstart: u16, after_hsyncend: u16, after_htotal: u16, after_hskew: u16, after_vdisplay: u16, after_vsyncstart: u16, after_vsyncend: u16, after_vtotal: u16, after_flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>> where 'c: 'future, 'input: 'future { ... } fn xf86vidmode_delete_mode_line<'c, 'input, 'future>( &'c self, screen: u32, dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>> where 'c: 'future, 'input: 'future { ... } fn xf86vidmode_validate_mode_line<'c, 'input, 'future>( &'c self, screen: u32, dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, ValidateModeLineReply>, ConnectionError>> + Send + 'future>> where 'c: 'future, 'input: 'future { ... } fn xf86vidmode_switch_to_mode<'c, 'input, 'future>( &'c self, screen: u32, dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>> where 'c: 'future, 'input: 'future { ... } fn xf86vidmode_get_view_port( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetViewPortReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_set_view_port( &self, screen: u16, x: u32, y: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_get_dot_clocks( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDotClocksReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_set_client_version( &self, major: u16, minor: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_set_gamma( &self, screen: u16, red: u32, green: u32, blue: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_get_gamma( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_get_gamma_ramp( &self, screen: u16, size: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaRampReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_set_gamma_ramp<'c, 'input, 'future>( &'c self, screen: u16, size: u16, red: &'input [u16], green: &'input [u16], blue: &'input [u16], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>> where 'c: 'future, 'input: 'future { ... } fn xf86vidmode_get_gamma_ramp_size( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaRampSizeReply>, ConnectionError>> + Send + '_>> { ... } fn xf86vidmode_get_permissions( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPermissionsReply>, ConnectionError>> + Send + '_>> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

Source

fn xf86vidmode_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_get_mode_line( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetModeLineReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_mod_mode_line<'c, 'input, 'future>( &'c self, screen: u32, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

Source

fn xf86vidmode_switch_mode( &self, screen: u16, zoom: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_get_monitor( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetMonitorReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_lock_mode_switch( &self, screen: u16, lock: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_get_all_mode_lines( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetAllModeLinesReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_add_mode_line<'c, 'input, 'future>( &'c self, screen: u32, dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, after_dotclock: Dotclock, after_hdisplay: u16, after_hsyncstart: u16, after_hsyncend: u16, after_htotal: u16, after_hskew: u16, after_vdisplay: u16, after_vsyncstart: u16, after_vsyncend: u16, after_vtotal: u16, after_flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

Source

fn xf86vidmode_delete_mode_line<'c, 'input, 'future>( &'c self, screen: u32, dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

Source

fn xf86vidmode_validate_mode_line<'c, 'input, 'future>( &'c self, screen: u32, dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, ValidateModeLineReply>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

Source

fn xf86vidmode_switch_to_mode<'c, 'input, 'future>( &'c self, screen: u32, dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u16, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, private: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

Source

fn xf86vidmode_get_view_port( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetViewPortReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_set_view_port( &self, screen: u16, x: u32, y: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_get_dot_clocks( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDotClocksReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_set_client_version( &self, major: u16, minor: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_set_gamma( &self, screen: u16, red: u32, green: u32, blue: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_get_gamma( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_get_gamma_ramp( &self, screen: u16, size: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaRampReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_set_gamma_ramp<'c, 'input, 'future>( &'c self, screen: u16, size: u16, red: &'input [u16], green: &'input [u16], blue: &'input [u16], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

Source

fn xf86vidmode_get_gamma_ramp_size( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaRampSizeReply>, ConnectionError>> + Send + '_>>

Source

fn xf86vidmode_get_permissions( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPermissionsReply>, ConnectionError>> + Send + '_>>

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.

Implementors§