Trait panorama_imap::client::auth::Auth [−][src]
Required methods
#[must_use]fn perform_auth<'async_trait>(
self,
client: ClientUnauthenticated
) -> Pin<Box<dyn Future<Output = Result<ClientAuthenticated>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self,
client: ClientUnauthenticated
) -> Pin<Box<dyn Future<Output = Result<ClientAuthenticated>> + Send + 'async_trait>> where
Self: 'async_trait,
Performs authentication, consuming the client
Provided methods
fn convert_client(client: ClientUnauthenticated) -> ClientAuthenticated
[src]
Converts the wrappers around the client once the authentication has happened. Should only
be called by the perform_auth
function.
Implementors
impl Auth for Plain
[src]
fn perform_auth<'async_trait>(
self,
client: ClientUnauthenticated
) -> Pin<Box<dyn Future<Output = Result<ClientAuthenticated>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self,
client: ClientUnauthenticated
) -> Pin<Box<dyn Future<Output = Result<ClientAuthenticated>> + Send + 'async_trait>> where
Self: 'async_trait,