mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-03 20:24:16 -04:00
remove unused function
This commit is contained in:
parent
277aed5d40
commit
cfd7a319d2
1 changed files with 0 additions and 18 deletions
|
@ -138,24 +138,6 @@ impl Destination {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_private_route(&self) -> Option<PrivateRoute> {
|
||||
match self {
|
||||
Destination::Direct {
|
||||
node: _,
|
||||
safety_selection: _,
|
||||
}
|
||||
| Destination::Relay {
|
||||
relay: _,
|
||||
node: _,
|
||||
safety_selection: _,
|
||||
} => None,
|
||||
Destination::PrivateRoute {
|
||||
private_route,
|
||||
safety_selection: _,
|
||||
} => Some(private_route.clone()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for Destination {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue