Trait samotop::io::client::ConnectionConfiguration[][src]

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

Required methods

pub fn address(&self) -> String[src]

pub fn timeout(&self) -> Duration[src]

pub fn security(&self) -> ClientSecurity[src]

pub fn hello_name(&self) -> ClientId[src]

pub fn max_reuse_count(&self) -> u16[src]

pub fn get_authentication(
    &self,
    server_info: &ServerInfo,
    encrypted: bool
) -> Option<Box<dyn Authentication + 'static, Global>>
[src]

pub fn lmtp(&self) -> bool[src]

Loading content...

Implementations on Foreign Types

impl ConnectionConfiguration for SmtpClient[src]

Loading content...

Implementors

Loading content...