Trait x11rb_async::protocol::bigreq::ConnectionExt
source · pub trait ConnectionExt: RequestConnection {
// Provided method
fn bigreq_enable(
&self
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, EnableReply>, ConnectionError>> + Send + '_>> { ... }
}Expand description
Extension trait defining the requests of this extension.
Provided Methods§
sourcefn bigreq_enable(
&self
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, EnableReply>, ConnectionError>> + Send + '_>>
fn bigreq_enable( &self ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, EnableReply>, ConnectionError>> + Send + '_>>
Enable the BIG-REQUESTS extension.
This enables the BIG-REQUESTS extension, which allows for requests larger than 262140 bytes in length. When enabled, if the 16-bit length field is zero, it is immediately followed by a 32-bit length field specifying the length of the request in 4-byte units.
Object Safety§
This trait is not object safe.