[][src]Trait mailslurp::apis::WaitForControllerApi

pub trait WaitForControllerApi {
    pub fn wait_for(
        &self,
        wait_for_conditions: Option<WaitForConditions>
    ) -> Box<dyn Future<Item = Vec<EmailPreview>, Error = Error<Value>>>;
pub fn wait_for_email_count(
        &self,
        count: Option<i32>,
        inbox_id: Option<&str>,
        timeout: Option<i64>,
        unread_only: Option<bool>
    ) -> Box<dyn Future<Item = Vec<EmailPreview>, Error = Error<Value>>>;
pub fn wait_for_latest_email(
        &self,
        inbox_id: Option<&str>,
        timeout: Option<i64>,
        unread_only: Option<bool>
    ) -> Box<dyn Future<Item = Email, Error = Error<Value>>>;
pub fn wait_for_matching_email(
        &self,
        match_options: MatchOptions,
        count: Option<i32>,
        inbox_id: Option<&str>,
        timeout: Option<i64>,
        unread_only: Option<bool>
    ) -> Box<dyn Future<Item = Vec<EmailPreview>, Error = Error<Value>>>;
pub fn wait_for_nth_email(
        &self,
        inbox_id: Option<&str>,
        index: Option<i32>,
        timeout: Option<i64>,
        unread_only: Option<bool>
    ) -> Box<dyn Future<Item = Email, Error = Error<Value>>>; }

Required methods

pub fn wait_for(
    &self,
    wait_for_conditions: Option<WaitForConditions>
) -> Box<dyn Future<Item = Vec<EmailPreview>, Error = Error<Value>>>
[src]

pub fn wait_for_email_count(
    &self,
    count: Option<i32>,
    inbox_id: Option<&str>,
    timeout: Option<i64>,
    unread_only: Option<bool>
) -> Box<dyn Future<Item = Vec<EmailPreview>, Error = Error<Value>>>
[src]

pub fn wait_for_latest_email(
    &self,
    inbox_id: Option<&str>,
    timeout: Option<i64>,
    unread_only: Option<bool>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
[src]

pub fn wait_for_matching_email(
    &self,
    match_options: MatchOptions,
    count: Option<i32>,
    inbox_id: Option<&str>,
    timeout: Option<i64>,
    unread_only: Option<bool>
) -> Box<dyn Future<Item = Vec<EmailPreview>, Error = Error<Value>>>
[src]

pub fn wait_for_nth_email(
    &self,
    inbox_id: Option<&str>,
    index: Option<i32>,
    timeout: Option<i64>,
    unread_only: Option<bool>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
[src]

Loading content...

Implementors

impl<C: Connect> WaitForControllerApi for WaitForControllerApiClient<C>[src]

Loading content...