pub fn search(
account: &Account,
password: &str,
search: &Search,
folders: &[Folder],
here: &BTreeMap<String, BTreeSet<(u32, u32)>>,
limit: usize,
senders: Option<&Senders>,
) -> Result<Outcome, SyncError>Expand description
Searches the server of account for search, in folders (their server
names as listed), leaving out what is kept here (here: per folder, the
UIDVALIDITY and the UIDs of its copies). At most limit come back, the
newest first. senders judge who a sender is to you, when a condition asks it.