Trait x11rb_async::protocol::damage::ConnectionExt
source · pub trait ConnectionExt: RequestConnection {
// Provided methods
fn damage_query_version(
&self,
client_major_version: u32,
client_minor_version: u32
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
fn damage_create(
&self,
damage: Damage,
drawable: Drawable,
level: ReportLevel
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn damage_destroy(
&self,
damage: Damage
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn damage_subtract<A, B>(
&self,
damage: Damage,
repair: A,
parts: B
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
where A: Into<Region> + Send + 'static,
B: Into<Region> + Send + 'static { ... }
fn damage_add(
&self,
drawable: Drawable,
region: Region
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
}Expand description
Extension trait defining the requests of this extension.