usenaia_serde::SerdeInternal;/// Reason a server-side rejection occurred during the handshake.
#[derive(SerdeInternal, Debug, PartialEq, Eq, Clone, Copy)]pubenumRejectReason{/// The client's protocol ID did not match the server's compiled protocol.
ProtocolMismatch,/// The server application explicitly rejected the client's auth message.
Auth,}