diff --git a/src/types/utils/opcode.rs b/src/types/utils/opcode.rs index b687eb78..3c533c3e 100644 --- a/src/types/utils/opcode.rs +++ b/src/types/utils/opcode.rs @@ -229,6 +229,9 @@ impl TryFrom for CloseCode { #[repr(u16)] #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Hash, Serialize, Deserialize)] /// When the voice gateway server closes your connection, it tells you what happened throught a close code. +/// +/// # Reference +/// See pub enum VoiceCloseCode { UnknownOpcode = 4001, FailedToDecodePayload = 4002,