Function panorama::mail::client::sync_main[][src]

pub async fn sync_main(
    config: Config,
    acct_name: impl AsRef<str>,
    acct: MailAccountConfig,
    mail2ui_tx: UnboundedSender<MailEvent>,
    mail_store: MailStore
) -> Result<()>

The main function for the IMAP syncing thread