Skip to main content

check_records

Function check_records 

Source
async fn check_records(
    session: &mut Imap,
    checker: &Checker,
    host: &str,
    records: &mut [Record],
    update: &mut Update,
) -> Result<(), SyncError>
Expand description

New records checked as they come (Checked): each message fetched whole (or its header block, above CHECK_WHOLE) from the folder open in session, checked, the checks put in its record. Those left unchecked (the DNS silent, a group cut short) wait for check_kept; a connection lost is said, the checks made until then kept.