pub struct TcpNoDelay;
Expand description
Under most circumstances, TCP sends data when it is presented; when outstanding data has not yet been acknowledged, it gathers small amounts of output to be sent in a single packet once an acknowledgement is received. For a small number of clients, such as window systems that send a stream of mouse events which receive no replies, this packetization may cause significant delays. The boolean option TCP_NODELAY defeats this algorithm.
Trait Implementations§
source§impl Clone for TcpNoDelay
impl Clone for TcpNoDelay
source§fn clone(&self) -> TcpNoDelay
fn clone(&self) -> TcpNoDelay
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TcpNoDelay
impl Debug for TcpNoDelay
source§impl GetSockOpt for TcpNoDelay
impl GetSockOpt for TcpNoDelay
source§impl Hash for TcpNoDelay
impl Hash for TcpNoDelay
source§impl PartialEq for TcpNoDelay
impl PartialEq for TcpNoDelay
source§impl SetSockOpt for TcpNoDelay
impl SetSockOpt for TcpNoDelay
impl Copy for TcpNoDelay
impl Eq for TcpNoDelay
impl StructuralPartialEq for TcpNoDelay
Auto Trait Implementations§
impl Freeze for TcpNoDelay
impl RefUnwindSafe for TcpNoDelay
impl Send for TcpNoDelay
impl Sync for TcpNoDelay
impl Unpin for TcpNoDelay
impl UnwindSafe for TcpNoDelay
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)