Trait WebsocketConnectionExtManual

Source
pub trait WebsocketConnectionExtManual:
    IsA<WebsocketConnection>
    + Sealed
    + 'static {
    // Provided method
    fn new(
        stream: &impl IsA<IOStream>,
        uri: &Uri,
        type_: WebsocketConnectionType,
        origin: Option<&str>,
        protocol: Option<&str>,
        extensions: &[WebsocketExtension],
    ) -> WebsocketConnection { ... }
}

Provided Methods§

Source

fn new( stream: &impl IsA<IOStream>, uri: &Uri, type_: WebsocketConnectionType, origin: Option<&str>, protocol: Option<&str>, extensions: &[WebsocketExtension], ) -> WebsocketConnection

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.

Implementors§