pub trait NoDelay {
// Required method
fn set_nodelay(&mut self, nodelay: bool) -> IoResult<()>;
}Expand description
Trait to switch TCP_NODELAY.
Required Methods§
Sourcefn set_nodelay(&mut self, nodelay: bool) -> IoResult<()>
fn set_nodelay(&mut self, nodelay: bool) -> IoResult<()>
Set the TCP_NODELAY option to the given value.
Implementations on Foreign Types§
Source§impl<S, SD, T> NoDelay for StreamOwned<S, T>
Available on crate feature __rustls-tls only.
impl<S, SD, T> NoDelay for StreamOwned<S, T>
Available on crate feature
__rustls-tls only.