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
)