[][src]Trait tungstenite::stream::NoDelay

pub trait NoDelay {
    pub fn set_nodelay(&mut self, nodelay: bool) -> IoResult<()>;
}

Trait to switch TCP_NODELAY.

Required methods

pub fn set_nodelay(&mut self, nodelay: bool) -> IoResult<()>[src]

Set the TCP_NODELAY option to the given value.

Loading content...

Implementations on Foreign Types

impl NoDelay for TcpStream[src]

impl<S: Read + Write + NoDelay> NoDelay for TlsStream<S>[src]

Loading content...

Implementors

impl<S: NoDelay, T: NoDelay> NoDelay for Stream<S, T>[src]

Loading content...