Skip to main content

fetch_texts

Function fetch_texts 

Source
async fn fetch_texts(
    session: &mut Imap,
    wanted: &[(u32, Vec<u32>, Leaf)],
    limit: u32,
) -> Result<BTreeMap<u32, (Vec<u32>, Vec<u8>, Leaf)>, SyncError>
Expand description

Each part asked for: whole up to WHOLE_PART, else its first limit bytes; one FETCH per part number (“1”, “1.1”, “2”…) and way. The bytes as stored, with the leaf that says how they are encoded.