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
sourceimpl Clone for TcpNoDelay
impl Clone for TcpNoDelay
sourcefn clone(&self) -> TcpNoDelay
fn clone(&self) -> TcpNoDelay
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TcpNoDelay
impl Debug for TcpNoDelay
sourceimpl GetSockOpt for TcpNoDelay
impl GetSockOpt for TcpNoDelay
sourceimpl Hash for TcpNoDelay
impl Hash for TcpNoDelay
sourceimpl PartialEq<TcpNoDelay> for TcpNoDelay
impl PartialEq<TcpNoDelay> for TcpNoDelay
sourcefn eq(&self, other: &TcpNoDelay) -> bool
fn eq(&self, other: &TcpNoDelay) -> bool
sourceimpl SetSockOpt for TcpNoDelay
impl SetSockOpt for TcpNoDelay
impl Copy for TcpNoDelay
impl Eq for TcpNoDelay
impl StructuralEq for TcpNoDelay
impl StructuralPartialEq for TcpNoDelay
Auto Trait Implementations
impl RefUnwindSafe for TcpNoDelay
impl Send for TcpNoDelay
impl Sync for TcpNoDelay
impl Unpin for TcpNoDelay
impl UnwindSafe for TcpNoDelay
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more