Refactor UdpClient to return errors instead of panicking #814
79.10% of diff hit (target 78.91%)
View this Pull Request on Codecov
79.10% of diff hit (target 78.91%)
Annotations
Check warning on line 61 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L61
Added line #L61 was not covered by tests
Check warning on line 78 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L78
Added line #L78 was not covered by tests
Check warning on line 81 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L81
Added line #L81 was not covered by tests
Check warning on line 87 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L87
Added line #L87 was not covered by tests
Check warning on line 89 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L89
Added line #L89 was not covered by tests
Check warning on line 109 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L109
Added line #L109 was not covered by tests
Check warning on line 112 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L112
Added line #L112 was not covered by tests
Check warning on line 118 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L118
Added line #L118 was not covered by tests
Check warning on line 120 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L120
Added line #L120 was not covered by tests
Check warning on line 128 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L128
Added line #L128 was not covered by tests
Check warning on line 171 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L171
Added line #L171 was not covered by tests
Check warning on line 227 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L227
Added line #L227 was not covered by tests
Check warning on line 234 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L234
Added line #L234 was not covered by tests
Check warning on line 250 in src/shared/bit_torrent/tracker/udp/client.rs
codecov / codecov/patch
src/shared/bit_torrent/tracker/udp/client.rs#L250
Added line #L250 was not covered by tests