Wrap reading files into block_in_place

This commit is contained in:
Igor Katson 2021-09-29 19:10:32 +01:00
parent f845eafca4
commit bca55891c1
5 changed files with 40 additions and 15 deletions

View file

@ -45,6 +45,7 @@ pub struct DictPeer<'a> {
#[serde(deserialize_with = "deserialize_ip_string")]
ip: IpAddr,
#[serde(borrow)]
#[allow(dead_code)]
peer_id: Option<ByteBuf<'a>>,
port: u16,
}