Trait NoDelay
pub trait NoDelay {
// Required method
fn set_nodelay(&mut self, nodelay: bool) -> Result<(), Error>;
}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.