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

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

Trait to switch TCP_NODELAY.

Required methods

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...