Move deserialization into PeerMessage
to distinct variants correctly
#538
88.78% of diff hit (target 92.20%)
View this Pull Request on Codecov
88.78% of diff hit (target 92.20%)
Annotations
Check warning on line 38 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L37-L38
Added lines #L37 - L38 were not covered by tests
Check warning on line 60 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L60
Added line #L60 was not covered by tests
Check warning on line 63 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L63
Added line #L63 was not covered by tests
Check warning on line 80 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L80
Added line #L80 was not covered by tests
Check warning on line 84 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L84
Added line #L84 was not covered by tests
Check warning on line 88 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L88
Added line #L88 was not covered by tests
Check warning on line 105 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L104-L105
Added lines #L104 - L105 were not covered by tests
Check warning on line 109 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L108-L109
Added lines #L108 - L109 were not covered by tests
Check warning on line 116 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L114-L116
Added lines #L114 - L116 were not covered by tests
Check warning on line 121 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L120-L121
Added lines #L120 - L121 were not covered by tests
Check warning on line 125 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L124-L125
Added lines #L124 - L125 were not covered by tests
Check warning on line 130 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L128-L130
Added lines #L128 - L130 were not covered by tests
Check warning on line 134 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L134
Added line #L134 was not covered by tests
Check warning on line 139 in aquadoggo/src/network/peers/message.rs
codecov / codecov/patch
aquadoggo/src/network/peers/message.rs#L139
Added line #L139 was not covered by tests