Reason

The source of a PeerUnresponsive signal.

Every send-path failure surfaces with a labeled reason: this keeps logs and UI able to distinguish a silent WiFi drop (Timeout) from a misbehaving peer that stopped reading (Backpressure) from a clean disconnect (TransportClosed).

Entries

Link copied to clipboard

No pong received within HeartbeatConfig.timeout.

Link copied to clipboard

Per-peer outbound buffer exceeded the configured ceiling.

Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.