Type Alias LocalServerOptions

Source
pub type LocalServerOptions<Incoming, Outgoing> = ServerOptions<UnixStream, Incoming, Outgoing, ()>;

Aliased Type§

struct LocalServerOptions<Incoming, Outgoing> {
    pub web_socket: WebSocketChannel<UnixStream, Incoming, Outgoing>,
    pub extensions: (),
}

Fields§

§web_socket: WebSocketChannel<UnixStream, Incoming, Outgoing>§extensions: ()

Trait Implementations§

Source§

impl<Incoming, Outgoing> IntoWebSocketContext<ServerContext<UnixStream, Incoming, Outgoing, Vec<u8>, ()>> for LocalServerOptions<Incoming, Outgoing>
where Incoming: CommunicableType + Send, Outgoing: CommunicableType + From<GenericWebSocketError> + Send,

Source§

type Channel = Sender<WebSocketItem<Communication<Incoming>, Sender<Communication<Outgoing>>>>

Source§

fn into_web_socket_context( self, channel: Self::Channel, ) -> LocalServerContext<Incoming, Outgoing>