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§
Sourcefn bigreq_enable(
&self,
) -> Result<Cookie<'_, Self, EnableReply>, ConnectionError>
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.
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.