mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
remove unused function
This commit is contained in:
parent
277aed5d40
commit
cfd7a319d2
@ -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…
Reference in New Issue
Block a user