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 Constant
pubconstBindError = error{
/// The address is protected and the current user does not have permission to bind it.AccessDenied,
/// The address is already taken. Can occur when bound port is 0 but/// all ephemeral ports are already in use.AddressInUse,
/// A nonexistent interface was requested or the requested address was not local.AddressUnavailable,
/// The address is not valid for the address family of socket.AddressFamilyUnsupported,
/// Insufficient memory or other resource internal to the operating system.SystemResources,
/// The local network interface used to reach the destination is offline.NetworkDown,
ProtocolUnsupportedBySystem,
ProtocolUnsupportedByAddressFamily,
/// Per-process limit on the number of open file descriptors has been reached.ProcessFdQuotaExceeded,
/// System-wide limit on the total number of open files has been reached.SystemFdQuotaExceeded,
SocketModeUnsupported,
/// One of the `BindOptions` is not supported by the Io/// implementation.OptionUnsupported,
} || Io.UnexpectedError || Io.Cancelable