Trait samotop_delivery::smtp::authentication::Authentication[][src]

pub trait Authentication: Send + Sync {
    fn method(&self) -> String;
fn initialize(&mut self) -> Option<String>;
fn respond(&mut self, challenge: &str) -> Result<String, Error>; }

Required methods

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

fn initialize(&mut self) -> Option<String>[src]

fn respond(&mut self, challenge: &str) -> Result<String, Error>[src]

Loading content...

Implementors

impl<T> Authentication for T where
    T: Send + Sync,
    T: DerefMut,
    T::Target: Authentication
[src]

Loading content...