Trait samotop_delivery::smtp::net::ConnectionConfiguration[][src]

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>>;
fn lmtp(&self) -> bool; }

Required methods

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

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

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

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

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

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

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

Loading content...

Implementors

impl ConnectionConfiguration for SmtpClient[src]

Loading content...