Expand description
e-mail threading (conversations)
This module implements Jamie Zawinski’s threading algorithm. Quoted comments (/* “ .. “ */) are taken almost verbatim from the algorithm.
The entry point of this module is the Threads struct and its
new method. It contains ThreadNodes which
are the nodes in the thread trees that might have messages associated with
them. The root nodes (first messages in each thread) are stored in
root_set and thread_nodes
vectors. Threads has inner mutability since we need to sort without the
user having mutable ownership.
Structs§
- Thread
- Thread
Hash - Thread
Iterator ThreadIteratorreturns messages of a specific thread according to the sorted order.- Thread
Node - Thread
Node Hash - Threads
- Threads
Iterator ThreadsIteratorreturns messages according to the sorted order.
Enums§
Traits§
- Subject
Prefix - Strip common prefixes from subjects