pub trait ResolveServerName {
// Required method
fn resolve(
&self,
uri: &Uri,
) -> Result<ServerName<'static>, Box<dyn Error + Sync + Send>>;
}
Expand description
A trait implemented by types that can resolve a ServerName
for a request.