start of refactoring veilid_api

This commit is contained in:
John Smith
2021-12-20 19:12:30 -05:00
parent 971fa94751
commit c0a42ac90c
8 changed files with 647 additions and 565 deletions

View File

@@ -25,7 +25,7 @@ impl DialInfoEntry {
self.resolved_address
}
pub fn resolve(&mut self) -> Result<IpAddr, String> {
pub fn resolve(&mut self) -> Result<Vec<IpAddr, String> {
let addr = match self.dial_info.resolve() {
Ok(a) => a,
Err(_) => return Err("failed to resolve address".to_owned()),