Module tokio::util::linked_list
source ยท Expand description
An intrusive double linked list of data.
The data structure supports tracking pinned nodes. Most of the data
structureโs APIs are unsafe
as they require the caller to ensure the
specified node is actually contained by the list.
Structsยง
- Drain
Filter ๐ - Guarded
Linked ๐List An intrusive linked list, but instead of keeping pointers to the head and tail nodes, it uses a special guard node linked with those nodes. It means that the list is circular and every pointer of a node from the list is notNone
, including pointers from the guard node. - Linked
List ๐An intrusive linked list. - Pointers ๐Previous / next pointers.
- Pointers
Inner ๐We do not want the compiler to put thenoalias
attribute on mutable references to this type, so the type has been made!Unpin
with aPhantomPinned
field.
Traitsยง
- Link ๐Defines how a type is tracked within a linked list.