pub trait ConnectionConfiguration: Sync + Send {
fn address(&self) -> String;
fn timeout(&self) -> Duration;
fn security(&self) -> ClientSecurity;
fn hello_name(&self) -> ClientId;
fn max_reuse_count(&self) -> u16;
fn get_authentication(
&self,
server_info: &ServerInfo,
encrypted: bool
) -> Option<Box<dyn Authentication + 'static, Global>>;
fn lmtp(&self) -> bool;
}