base-scheduler 0.3.0

Explicit, runtime-independent scheduler capabilities for protocol libraries
Documentation
1
2
3
4
5
6
7
8
9
10
// Released under the MIT License.
// Copyright, 2026, by Samuel Williams.

/// Boolean `TCP_NODELAY`: disable Nagle's algorithm when true. Valid for TCP sockets; this does not promise one packet per write or confirmation of peer receipt.
#[derive(Clone, Copy, Debug)]
pub struct TcpNoDelay;

impl crate::SocketOption for TcpNoDelay {
    type Value = bool;
}