This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Enum
pubconstMode = enum {
/// Provides sequenced, reliable, two-way, connection-based byte/// streams. An out-of-band data transmission mechanism may be/// supported.stream,
/// Supports datagrams (connectionless, unreliable messages of a fixed/// maximum length).dgram,
/// Provides a sequenced, reliable, two-way connection-based data/// transmission path for datagrams of fixed maximum length; a consumer/// is required to read an entire packet with each input system call.seqpacket,
/// Provides raw network protocol access.raw,
/// Provides a reliable datagram layer that does not guarantee ordering.rdm,
}