silence warnings: unused proto field, dead upstream_id field
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ async fn handle_frame(
|
||||
};
|
||||
let _ = tx.send((src, manifest.encode())).await;
|
||||
}
|
||||
Frame::Open { upstream_id, proto } => {
|
||||
Frame::Open { upstream_id, proto: _ } => {
|
||||
let upstream = table.get(upstream_id);
|
||||
match upstream {
|
||||
Some(upstream) => {
|
||||
|
||||
@@ -129,6 +129,7 @@ impl RecvState {
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
#[allow(dead_code)]
|
||||
pub struct SessionHandle {
|
||||
pub upstream_id: u8,
|
||||
pub proto: u8,
|
||||
|
||||
Reference in New Issue
Block a user