From 92dd964ea09d152251a6ecd1f8a52b8875b7e301 Mon Sep 17 00:00:00 2001 From: Flori <39242991+bitfl0wer@users.noreply.github.com> Date: Sat, 26 Oct 2024 13:22:37 +0200 Subject: [PATCH] Update src/types/utils/opcode.rs Co-authored-by: kozabrada123 <59031733+kozabrada123@users.noreply.github.com> --- src/types/utils/opcode.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/types/utils/opcode.rs b/src/types/utils/opcode.rs index 6504b44c..b687eb78 100644 --- a/src/types/utils/opcode.rs +++ b/src/types/utils/opcode.rs @@ -142,6 +142,9 @@ impl TryFrom for Opcode { #[repr(u16)] #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Hash, Serialize, Deserialize)] /// When the gateway server closes your connection, it tells you what happened throught a close code. +/// +/// # Reference +/// See pub enum CloseCode { UnknownError = 4000, UnknownOpcode = 4001,