fix private type leak and dead_code warnings

- LinkFd -> pub(crate) so it's visible in return types of readable/writable
- #[allow(dead_code)] on Proto enum (Udp variant reserved for v2)
This commit is contained in:
2026-08-13 07:44:02 +00:00
parent 8ab189cd56
commit dc5df5c073
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
use crate::frame::{UpstreamEntry, PROTO_TCP, PROTO_UDP};
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[allow(dead_code)]
pub enum Proto {
Tcp,
Udp,