From 9e6c0306976bcb972eacbf0b9ae27ea2bbfa48f3 Mon Sep 17 00:00:00 2001 From: Tipragot Date: Mon, 12 Feb 2024 13:08:34 +0100 Subject: [PATCH] Good --- crates/relay-client/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/relay-client/src/lib.rs b/crates/relay-client/src/lib.rs index 46ee8f3..ffb9fb5 100644 --- a/crates/relay-client/src/lib.rs +++ b/crates/relay-client/src/lib.rs @@ -15,7 +15,7 @@ use tungstenite::{ClientHandshake, HandshakeError, Message, WebSocket}; /// The state of a [Connection]. #[derive(Debug)] -pub enum ConnectionState { +enum ConnectionState { /// The [Connection] is not connected. Disconnected, @@ -65,7 +65,7 @@ pub struct Connection { receive_sender: Sender<(u32, Vec)>, /// The state of the connection. - pub state: ConnectionState, + state: ConnectionState, } impl Connection {