agde_tokio

Enum Io

source
pub enum Io {
    Ws(WebSocketStream<MaybeTlsStream<TcpStream>>),
    Duplex(WebSocketStream<DuplexStream>),
}

Variants§

§

Ws(WebSocketStream<MaybeTlsStream<TcpStream>>)

§

Duplex(WebSocketStream<DuplexStream>)

Trait Implementations§

source§

impl Debug for Io

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Sink<Message> for Io

source§

type Error = Error

The type of value produced by the sink when an error occurs.