deltachat::scheduler

Function convert_folder_meaning

source
pub async fn convert_folder_meaning(
    ctx: &Context,
    folder_meaning: FolderMeaning,
) -> Result<Option<(Config, String)>>
Expand description

Convert folder meaning used internally by fetch_idle and Context::background_fetch.

Returns folder configuration key and folder name if such folder is configured, Ok(None) otherwise.