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