pub async fn threads<T: AsyncRead + AsyncWrite + Unpin>(
client: &mut MapClient<T>,
) -> Result<Vec<LiveThread>>Expand description
Aggregates Inbox and Sent listings into per-contact thread summaries, newest-first.
Listings only — no bodies are fetched. Mirrors store::threads: total counts all messages,
unread counts received-and-unread, latest_ms is the max datetime, empty-address entries are
dropped. Counts are approximate (device window, not full corpus). No store access.
§Errors
Returns an error if either folder listing fails.