Trait samotop::mail::MailGuard[][src]

pub trait MailGuard: Debug {
    pub fn add_recipient<'a, 'f>(
        &'a self,
        request: AddRecipientRequest
    ) -> Pin<Box<dyn Future<Output = AddRecipientResult> + 'f + Send + Sync, Global>>

Notable traits for Pin<P>

impl<P> Future for Pin<P> where
    P: Unpin + DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;

    where
        'a: 'f
;
pub fn start_mail<'a, 's, 'f>(
        &'a self,
        session: &'s SessionInfo,
        request: Transaction
    ) -> Pin<Box<dyn Future<Output = StartMailResult> + 'f + Send + Sync, Global>>

Notable traits for Pin<P>

impl<P> Future for Pin<P> where
    P: Unpin + DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;

    where
        'a: 'f,
        's: 'f
; }

A mail guard can be queried whether a recepient is accepted on which address.

Required methods

pub fn add_recipient<'a, 'f>(
    &'a self,
    request: AddRecipientRequest
) -> Pin<Box<dyn Future<Output = AddRecipientResult> + 'f + Send + Sync, Global>>

Notable traits for Pin<P>

impl<P> Future for Pin<P> where
    P: Unpin + DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;
where
    'a: 'f, 
[src]

pub fn start_mail<'a, 's, 'f>(
    &'a self,
    session: &'s SessionInfo,
    request: Transaction
) -> Pin<Box<dyn Future<Output = StartMailResult> + 'f + Send + Sync, Global>>

Notable traits for Pin<P>

impl<P> Future for Pin<P> where
    P: Unpin + DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;
where
    'a: 'f,
    's: 'f, 
[src]

Loading content...

Implementations on Foreign Types

impl<T> MailGuard for Arc<T> where
    T: MailGuard
[src]

impl MailGuard for Accounts[src]

Loading content...

Implementors

impl MailGuard for Builder[src]

impl MailGuard for DebugMailService[src]

impl MailGuard for Mapper[src]

Loading content...