Skip to main content

IntoWsStream

Trait IntoWsStream 

Source
pub trait IntoWsStream {
    // Required method
    fn into_stream(self) -> WsStream;
}
Expand description

Extension trait for converting receivers to streams.

Required Methods§

Source

fn into_stream(self) -> WsStream

Convert into a WsStream.

Implementations on Foreign Types§

Source§

impl IntoWsStream for UnboundedReceiver<WsMessage>

Implementors§