Trait x11rb_async::protocol::dpms::ConnectionExt
source · pub trait ConnectionExt: RequestConnection {
// Provided methods
fn dpms_get_version(
&self,
client_major_version: u16,
client_minor_version: u16
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetVersionReply>, ConnectionError>> + Send + '_>> { ... }
fn dpms_capable(
&self
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CapableReply>, ConnectionError>> + Send + '_>> { ... }
fn dpms_get_timeouts(
&self
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetTimeoutsReply>, ConnectionError>> + Send + '_>> { ... }
fn dpms_set_timeouts(
&self,
standby_timeout: u16,
suspend_timeout: u16,
off_timeout: u16
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn dpms_enable(
&self
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn dpms_disable(
&self
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn dpms_force_level(
&self,
power_level: DPMSMode
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn dpms_info(
&self
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, InfoReply>, ConnectionError>> + Send + '_>> { ... }
}Expand description
Extension trait defining the requests of this extension.