use query::FetchServer; use parser::WhoisData; use std::error::Error; #[allow(dead_code)] pub struct DomainQuery {} #[allow(unused_variables)] pub fn fetch_domain(domain: &str) -> Result> { panic!["fetch_domain not implemented"]; } impl FetchServer for DomainQuery { fn fetch(s: &str) -> Result> { fetch_domain(s) } }