base-scheduler 0.3.1

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 `SO_KEEPALIVE`: enable or disable OS keepalive probes, using the system's timing defaults. Probe intervals, counts, and application-level liveness policies are separate concerns.
#[derive(Clone, Copy, Debug)]
pub struct SocketKeepalive;

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