Trait x11rb::protocol::bigreq::ConnectionExt

source ·
pub trait ConnectionExt: RequestConnection {
    // Provided method
    fn bigreq_enable(
        &self,
    ) -> Result<Cookie<'_, Self, EnableReply>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

fn bigreq_enable( &self, ) -> Result<Cookie<'_, Self, EnableReply>, ConnectionError>

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.

Implementors§