[bug fix] add logic

This commit is contained in:
YinMo19 committed 2025-04-24 21:25:00 +08:00
1 parent 7110634c09
commit 608eb5983f
2 files changed
+4 -49

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ pub trait TcpStreamTrait: AsyncRead + AsyncWrite + Unpin {}
pub struct DynTcpStream(pub(crate) Box<dyn TcpStreamTrait + Send + Sync>);
#[derive(Clone)]
pub struct Encrypt(Key, u64, u64);
pub struct Encrypt(pub Key, pub u64, pub u64);
pub struct FramedStream(
pub(crate) Framed<DynTcpStream, BytesCodec>,