Added bandwidth limits to prevent receiver overflow (--bandwidth_limi… #128
GitHub Actions / clippy
failed
Jul 8, 2024 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check failure on line 69 in src/udp.rs
github-actions / clippy
transmute used without annotations
error: transmute used without annotations
--> src/udp.rs:69:31
|
69 | unsafe { mem::transmute(sockaddr_in6) }
| ^^^^^^^^^ help: consider adding missing annotations: `transmute::<std::boxed::Box<libc::sockaddr_in6>, std::boxed::Box<libc::sockaddr>>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
Check failure on line 57 in src/udp.rs
github-actions / clippy
transmute used without annotations
error: transmute used without annotations
--> src/udp.rs:57:31
|
57 | unsafe { mem::transmute(sockaddr_in) }
| ^^^^^^^^^ help: consider adding missing annotations: `transmute::<std::boxed::Box<libc::sockaddr_in>, std::boxed::Box<libc::sockaddr>>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
= note: `-D clippy::missing-transmute-annotations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::missing_transmute_annotations)]`
Loading