enable serde feature of bytes, modify struct WriteBlock using Bytes

This commit is contained in:
tom committed 2022-07-21 16:07:19 +08:00
1 parent 16b7c7c716
commit 9ab955bb8e
5 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -263,7 +263,7 @@ impl ConnectionManager {
FileTransferBlock {
id,
file_num,
data: data.into(),
data,
compressed,
..Default::default()
},