enable serde feature of bytes, modify struct WriteBlock using Bytes

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

View File

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