Expand description
QUIC application error codes used in CONNECTION_CLOSE, RESET_STREAM and
STOP_SENDING (docs/PROTOCOL.md §7).
These are plain u64 values: the protocol crate stays free of transport
types, and the weida crate wraps them in quinn::VarInt.
Constants§
- CANCELED
- The transfer is no longer wanted.
- INTERNAL
- The local side failed internally.
- LIMIT_
EXCEEDED - A resource limit was reached.
- NEGOTIATION_
FAILED - Version or capability negotiation failed.
- NO_
ERROR - Normal closure.
- PROTOCOL_
VIOLATION - The peer broke the wire protocol.
- REJECTED
- The receiving application declined the transfer.
- SHUTDOWN
- Orderly shutdown of the runtime.
- UNKNOWN_
ENDPOINT - No endpoint is registered for the requested path.
- UNSUPPORTED
- The endpoint exists but does not serve this stream kind.
Functions§
- name
- Human-readable name for a code, for logs and close reasons.
- stop_
reason - Interprets a
STOP_SENDINGcode as a sender-side outcome reason.