pub trait WebsocketExtensionExt:
IsA<WebsocketExtension>
+ Sealed
+ 'static {
// Provided methods
fn request_params(&self) -> Option<GString> { ... }
fn response_params(&self) -> Option<GString> { ... }
fn process_incoming_message(
&self,
header: &mut u8,
payload: Bytes,
) -> Result<Bytes, Error> { ... }
fn process_outgoing_message(
&self,
header: &mut u8,
payload: Bytes,
) -> Result<Bytes, Error> { ... }
}
Provided Methods§
fn request_params(&self) -> Option<GString>
fn response_params(&self) -> Option<GString>
fn process_incoming_message( &self, header: &mut u8, payload: Bytes, ) -> Result<Bytes, Error>
fn process_outgoing_message( &self, header: &mut u8, payload: Bytes, ) -> Result<Bytes, Error>
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.