Skip to main content

GatewayResponseExt

Trait GatewayResponseExt 

Source
pub trait GatewayResponseExt {
    // Required method
    fn into_web_sys(self) -> Response;
}
Expand description

Extension trait for converting a GatewayResponse into a web_sys::Response.

Required Methods§

Source

fn into_web_sys(self) -> Response

Convert this gateway response into a web_sys::Response.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl GatewayResponseExt for GatewayResponse<Response>

Implementors§